I'm writing a template which really needs to know about all the base classes of its parameter type. The std::bases
trait proposed by N2965 is perfect for this, however I can't find any reliable information about its status.
Is this proposal still alive? If so, when might we be likely to see it, standardized? If not, are there any other proposals around that would provide this capability?
As a follow-up, g++ has the two N2965 traits available as std::tr2::bases
and std::tr2::direct_bases
. Are there any extensions for Clang and/or Intel that can provide equivalent functionality?