I'm struggling to check at compile time if type is std::bitset or not.
I would like to to something like:
is_bitset<std::bitset<2>>::value; // should evaluate to true
is_bitset<int>::value; // should evaluate to false
I think this SO post is pointing in the right direction, but for some reason I can't manage to make it workd with std::bitset.
What's the best way to do this with C++14?