SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWTHash< unsigned int > Struct Template Reference

Function object for hashing an unsigned int. More...

#include <rw/tools/hash.h>

Public Member Functions

size_t operator() (unsigned int obj) const
 

Detailed Description

template<>
struct RWTHash< unsigned int >

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

Member Function Documentation

size_t RWTHash< unsigned int >::operator() ( unsigned int  obj) const
inline

Returns a hashed value of obj.

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