Support Class Library
A set of tools providing classes and utility
is_base_of.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <type_traits>
4 
5 namespace scl{
6  namespace tools{
7  namespace meta{
11  template <class Base, class Derived>
12  inline constexpr bool is_base_of(){
13  return std::is_base_of<Base, Derived>::value;
14  }
15  }
16  }
17 }
Global namespace of the SCL.
Definition: alias.hpp:3
constexpr bool is_base_of()
An handy function for the result of std::is_base_of.
Definition: is_base_of.h:12