00001 #ifndef NMWR_GB_CONTAINER_FUNCTIONS_H 00002 #define NMWR_GB_CONTAINER_FUNCTIONS_H 00003 00004 // $LICENSE 00005 00006 00007 #include "Config/compiler-config.h" 00008 00009 #include <functional> 00010 00011 template <class T> 00012 struct my_identity : public std::unary_function<T, T> { 00013 const T& operator()(const T& x) const { return x; } 00014 }; 00015 00016 #endif 00017