Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    27cbfef0
    MAINT-1175: Use workaround for comparing std::type_info* on gcc < 4.4. · 27cbfef0
    Nat Goodspeed authored
    We now specialize std::less<const std::type_info*> to use
    std::type_info::before(), and on Windows and Mac that Just Works. It even
    works on Linux when using gcc 4.4+: more recent implementations of gcc's
    std::type_info::before() apparently do name()-string comparisons internally.
    It doesn't work so well on Linux with gcc 4.1, though, and that's the compiler
    we still use on our Linux build-farm machines. But rather than give up,
    perform explicit name()-string comparison in that case.
    27cbfef0
    History
    MAINT-1175: Use workaround for comparing std::type_info* on gcc < 4.4.
    Nat Goodspeed authored
    We now specialize std::less<const std::type_info*> to use
    std::type_info::before(), and on Windows and Mac that Just Works. It even
    works on Linux when using gcc 4.4+: more recent implementations of gcc's
    std::type_info::before() apparently do name()-string comparisons internally.
    It doesn't work so well on Linux with gcc 4.1, though, and that's the compiler
    we still use on our Linux build-farm machines. But rather than give up,
    perform explicit name()-string comparison in that case.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.