SourcePro® API Reference Guide

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

Function object for hashing an RWCollectableDateTime. More...

#include <rw/tools/ctdatetime.h>

Public Member Functions

size_t operator() (const RWCollectableDateTime &obj) const
 

Detailed Description

template<>
struct RWTHash< RWCollectableDateTime >

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

Member Function Documentation

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

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

obj.hash();

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