cgv
Loading...
Searching...
No Matches
drop_const.h
1
#pragma once
2
3
namespace
cgv
{
4
namespace
type {
5
namespace
func {
6
8
template
<
typename
T>
9
struct
drop_const
10
{
12
typedef
T
type
;
13
};
15
template
<
typename
T>
16
struct
drop_const
<const T>
17
{
19
typedef
T
type
;
20
};
22
template
<
typename
T>
23
struct
drop_const
<T&>
24
{
26
typedef
typename
drop_const<T>::type
&
type
;
27
};
28
29
}
30
}
31
}
cgv
the cgv namespace
Definition
print.h:11
cgv::type::func::drop_const< T & >::type
drop_const< T >::type & type
define type without const
Definition
drop_const.h:26
cgv::type::func::drop_const< const T >::type
T type
define type without const
Definition
drop_const.h:19
cgv::type::func::drop_const
the drop const template defines a type without const modifier
Definition
drop_const.h:10
cgv::type::func::drop_const::type
T type
define value type
Definition
drop_const.h:12
cgv
type
func
drop_const.h
Generated by
1.9.8