MAINT-1175: Ditch LLTypeInfoLookup, make map<const type_info*> work.
Instead of forbidding std::map<const std::type_info*, ...> outright (which includes LLRegistry<const std::type_info*, ...> and LLRegistrySingleton<const std::type_info*, ...>), try to make it work by specializing std::less<const std::type_info*> to use std::type_info::before(). Make LLRegistryDefaultComparator<T> use std::less<T> so it can capitalize on that specialization.
Showing
- indra/llcommon/llinitparam.h 16 additions, 16 deletionsindra/llcommon/llinitparam.h
- indra/llcommon/llregistry.h 4 additions, 30 deletionsindra/llcommon/llregistry.h
- indra/llcommon/llstl.h 30 additions, 0 deletionsindra/llcommon/llstl.h
- indra/llui/lluictrlfactory.h 3 additions, 2 deletionsindra/llui/lluictrlfactory.h
Loading
Please register or sign in to comment