10#ifndef HPP_ALIB_COMPATIBILITY_STD_TYPEINFO
11#define HPP_ALIB_COMPATIBILITY_STD_TYPEINFO 1
27namespace compatibility {
52 using Key= const ::std::type_info*;
64 return typeinfo->hash_code();
95 return ::std::type_index( *lhs ) < ::std::type_index( *rhs );
Comparison functor for type const std::type_info*.
bool operator()(Key lhs, Key rhs) const
Hash code functor for type const std::type_info*.
size_t operator()(Key typeinfo) const
Comparison functor for type const std::type_info*.
bool operator()(Key lhs, Key rhs) const
const ::std::type_info * Key
The key type.