cgv
Loading...
Searching...
No Matches
make_const.h
1
#pragma once
2
3
#include <cgv/type/func/drop_const.h>
4
5
namespace
cgv
{
6
namespace
type {
7
namespace
func {
8
namespace
MakeConst {
9
template
<
typename
T>
10
struct
make_const_impl
11
{
12
typedef
const
T type;
13
};
14
template
<
typename
T>
15
struct
make_const_impl
<T&>
16
{
17
typedef
const
T& type;
18
};
19
}
21
template
<
typename
T>
22
struct
make_const
:
public
MakeConst::make_const_impl
<typename drop_const<T>::type> {};
23
}
24
}
25
}
cgv
the cgv namespace
Definition
print.h:11
cgv::type::func::MakeConst::make_const_impl
Definition
make_const.h:11
cgv::type::func::make_const
the drop const traits defines a type without const modifier
Definition
make_const.h:22
cgv
type
func
make_const.h
Generated by
1.9.8