cgv
Loading...
Searching...
No Matches
is_base_of.h
1#pragma once
2
3#include <type_traits>
4#include <cgv/type/func/drop_const.h>
5
6namespace cgv {
7 namespace type {
8 namespace cond {
9
11template <typename base_type, typename derived_type>
13{
14 static const bool value =
15 std::is_base_of<typename func::drop_const<base_type>::type,
17};
18
19 }
20 }
21}
the cgv namespace
Definition print.h:11
template condition returning, whether the first argument is a base class of the second argument
Definition is_base_of.h:13
T type
define value type
Definition drop_const.h:12