cgv
Loading...
Searching...
No Matches
is_const.h
1
#pragma once
2
3
namespace
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
}
cgv
the cgv namespace
Definition
print.h:11
cgv::type::cond::is_const
checks if a type has the const modifier
Definition
is_const.h:8
cgv
type
cond
is_const.h
Generated by
1.9.8