I know about std::is_base_of, but I want to allow just 1 level of inheritance.
class A
{
};
class B : public A
{
};
class C : public B
{
};
Is1LevelSubClass<A, C> -> false <- I want this!!!
Is1LevelSubClass<B, C> -> true
std::is_base_of<A, C> -> true
std::is_base_of<B, C> -> true
I'm working on MSVC, C++17