• Jason Rhinelander's avatar
    Make is_template_base_of ignore cv qualification · 7d46c6f6
    Jason Rhinelander authored
    `is_template_base_of<T>` fails when `T` is `const` (because its
    implementation relies on being able to convert a `T*` to a `Base<U>*`,
    which won't work when `T` is const).
    
    (This also agrees with std::is_base_of, which ignores cv qualification.)
    7d46c6f6
common.h 29.1 KB