SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWTHash< T * > Struct Template Reference

Function object for hashing a pointer type. More...

#include <rw/tools/hash.h>

Public Member Functions

size_t operator() (T *obj) const
 

Detailed Description

template<typename T>
struct RWTHash< T * >

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

Member Function Documentation

◆ operator()()

template<typename T >
size_t RWTHash< T * >::operator() ( T * obj) const
inline

Returns a hashed value of obj.

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