STL comes with many type traits like std::is_pointer
, std::is_reference
etc...
Lets say I have a class
class A
{
using type_member = void;
}
Is there any type trait for controlling the type member and checking if it exists ?
Something like is_type_member_exist<typename A::type_member>();
I am both curious if a solution exist with C++17 and also curious about C++2003(at work I need this and I have vs2010 which has a bit C++11 support but not complete).