3 // $Id: Functor_T.inl 80826 2008-03-04 14:51:23Z wotte $
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 template <class TYPE> ACE_INLINE unsigned long
8 ACE_Hash<TYPE>::operator () (const TYPE &t) const
13 template <class TYPE> ACE_INLINE unsigned long
14 ACE_Pointer_Hash<TYPE>::operator () (TYPE t) const
16 #if defined (ACE_WIN64)
17 // The cast below is legit... we only want a hash, and need not convert
18 // the hash back to a pointer.
19 # pragma warning(push)
20 # pragma warning(disable : 4311) /* Truncate pointer to unsigned long */
21 #endif /* ACE_WIN64 */
22 return reinterpret_cast<unsigned long> (t);
23 #if defined (ACE_WIN64)
25 #endif /* ACE_WIN64 */
28 template <class TYPE> ACE_INLINE bool
29 ACE_Equal_To<TYPE>::operator () (const TYPE &lhs,
30 const TYPE &rhs) const
35 template <class TYPE> ACE_INLINE bool
36 ACE_Less_Than<TYPE>::operator () (const TYPE &lhs,
37 const TYPE &rhs) const
42 ACE_END_VERSIONED_NAMESPACE_DECL