Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Pointer_Hash Class Template Reference

Function object for hashing pointers. More...

#include <Functor_T.h>

List of all members.

Public Methods

u_long operator() (TYPE t) const
 Simply returns t. More...


Detailed Description

template<class TYPE>
class ACE_Pointer_Hash< TYPE >

Function object for hashing pointers.

Definition at line 100 of file Functor_T.h.


Member Function Documentation

template<class TYPE>
ACE_INLINE u_long ACE_Pointer_Hash< TYPE >::operator() TYPE    t const
 

Simply returns t.

Definition at line 11 of file Functor_T.i.

00012 {
00013 #if defined (ACE_WIN64)
00014   // The cast below is legit... we only want a hash, and need not convert
00015   // the hash back to a pointer.
00016 #  pragma warning(push)
00017 #  pragma warning(disable : 4311)   /* Truncate pointer to u_long */
00018 #endif /* ACE_WIN64 */
00019   return ACE_reinterpret_cast (u_long, t);
00020 #if defined (ACE_WIN64)
00021 #  pragma warning(pop)
00022 #endif /* ACE_WIN64 */
00023 }


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:52:02 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002