ACE_Pointer_Hash< TYPE > Class Template Reference

Function object for hashing pointers. More...

#include <Functor_T.h>

List of all members.

Public Member Functions

unsigned long operator() (TYPE t) const
 Simply returns t.


Detailed Description

template<class TYPE>
class ACE_Pointer_Hash< TYPE >

Function object for hashing pointers.

Definition at line 104 of file Functor_T.h.


Member Function Documentation

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

Simply returns t.

Definition at line 14 of file Functor_T.inl.

00015 {
00016 #if defined (ACE_WIN64)
00017   // The cast below is legit... we only want a hash, and need not convert
00018   // the hash back to a pointer.
00019 #  pragma warning(push)
00020 #  pragma warning(disable : 4311)   /* Truncate pointer to unsigned long */
00021 #endif /* ACE_WIN64 */
00022   return reinterpret_cast<unsigned long> (t);
00023 #if defined (ACE_WIN64)
00024 #  pragma warning(pop)
00025 #endif /* ACE_WIN64 */
00026 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:26:24 2006 for ACE by doxygen 1.3.6