SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWTHash< RWCollectableWString > Struct Template Reference

Function object for hashing an RWCollectableWString. More...

#include <rw/collstr.h>

Inherits unary_function< RWCollectableWString, size_t >.

Public Member Functions

size_t operator() (const RWCollectableWString &obj) const
 

Detailed Description

template<>
struct RWTHash< RWCollectableWString >

Provides a C++ Standard Library-compliant hash function object suitable for use with hash or unordered containers.

Member Function Documentation

size_t RWTHash< RWCollectableWString >::operator() ( const RWCollectableWString obj) const
inline

Returns a hash of obj. This function is the equivalent of calling

obj.hash();

Copyright © 2016 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.