diff options
Diffstat (limited to 'ace/Functor_T.i')
-rw-r--r-- | ace/Functor_T.i | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/ace/Functor_T.i b/ace/Functor_T.i index 52e38166dac..d626f76ed15 100644 --- a/ace/Functor_T.i +++ b/ace/Functor_T.i @@ -1,38 +1,6 @@ /* -*- C++ -*- */ // $Id$ -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Functor_T.i -// -// = DESCRIPTION -// Inlinable method definitions for templatized classes -// implementing the GOF Command Pattern, or STL-style functors. -// -// = AUTHOR -// Chris Gill <cdgill@cs.wustl.edu> -// -// Based on Command Pattern implementations originally done by -// -// Carlos O'Ryan <coryan@cs.wustl.edu> and -// Douglas C. Schmidt <schmidt@cs.wustl.edu> and -// Sergio Flores-Gaitan <sergio@cs.wustl.edu> -// -// and on STL-style functor implementations originally done by -// -// Irfan Pyarali <irfan@cs.wustl.edu> -// -// ============================================================================ - - -///////////////////////////////// -// STL-style Functor Templates // -///////////////////////////////// - template <class TYPE> ACE_INLINE u_long ACE_Hash<TYPE>::operator () (const TYPE &t) const { @@ -56,5 +24,5 @@ template <class TYPE> ACE_INLINE int ACE_Less_Than<TYPE>::operator () (const TYPE &lhs, const TYPE &rhs) const { - return (lhs < rhs) ? 1 : 0; + return lhs < rhs ? 1 : 0; } |