Please implement a check for try in case libstdc++ implements c++11 where tr1
is merged into std. For instance, clang on OSX 10.9 w/ Xcode 5.0.2 & llvm 5.0
(500) doesn't include tr1 headers anymore, so build will fail.
Fix here is to patch the header for now:
#define HASH_FUN_H <tr1/functional> => #define HASH_FUN_H <functional>
#define HASH_NAMESPACE std::tr1 => #define HASH_NAMESPACE std
There needs to be a check in place that could verify if either TR1 can be used
or a newer version is in place. This can easily be done by verifying the std:
if ( __cplusplus >= 201103L ) { /*...*/ }
Thanks