identity.h

Go to the documentation of this file.
00001 #ifndef identity_HEADER
00002 #define identity_HEADER
00003 
00004 /***************************************************************************
00005  * Benoit Hudson (C) 2007.
00006  ***************************************************************************/
00007 
00008 #include <ext/functional>
00009 #include <ext/hash_set>
00010 
00011 namespace hudson {
00013 template <class T> __gnu_cxx::identity<T> form_identity(const T&) {
00014   return __gnu_cxx::identity<T>();
00015 }
00016 
00018 template <class T> __gnu_cxx::hash<T> form_hash(const T&) {
00019   return __gnu_cxx::hash<T>();
00020 }
00021 
00022 } // namespace hudson
00023 #endif

Generated on Thu Mar 27 19:04:14 2008 by  doxygen 1.4.6