159 constexpr bool t = base_of_template<std::vector, std::vector<int>>;
160 static_assert(t ==
true,
"This should be true");
162 constexpr bool t2 = base_of_template<std::vector, int>;
163 static_assert(t2 ==
false,
"This should be true");
165 constexpr bool t3 = base_of_template<FooFoo, Bar>;
166 static_assert(t3 ==
true,
"This should be true");
168 constexpr bool t4 = base_of_template<FooFoo, NoBar>;
169 static_assert(t4 ==
false,
"This should be false");
171 constexpr bool t5 = base_of_template<NoFooFoo, NoBar>;
172 static_assert(t5 ==
true,
"This should be true");