cgv
Loading...
Searching...
No Matches
is_const.h
1#pragma once
2
3namespace cgv {
4 namespace type {
5 namespace cond {
7 template <typename T>
8 struct is_const { static const bool value = false; };
9 template <typename T>
10 struct is_const<const T> { static const bool value = true; };
11 template <typename T>
12 struct is_const<T&> : public is_const<T> {};
13 }
14 }
15}
the cgv namespace
Definition print.h:11
checks if a type has the const modifier
Definition is_const.h:8