SourcePro® API Reference Guide

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

Function object for hashing a bool. More...

#include <rw/tools/hash.h>

Public Member Functions

size_t operator() (bool obj) const
 

Detailed Description

template<>
struct RWTHash< bool >

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

Member Function Documentation

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

Returns a hashed value of obj.

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