SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWTHash< RWCollectableInt > Struct Reference

Function object for hashing an RWCollectableInt. More...

#include <rw/collint.h>

Public Member Functions

size_t operator() (const RWCollectableInt &obj) const
 

Detailed Description

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

Member Function Documentation

◆ operator()()

size_t RWTHash< RWCollectableInt >::operator() ( const RWCollectableInt & obj) const
inline

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

obj.hash();

Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.