yfast
0.6.1
Loading...
Searching...
No Matches
maybe_const.h
1
#ifndef _YFAST_UTILS_MAYBE_CONST_H
2
#define _YFAST_UTILS_MAYBE_CONST_H
3
4
namespace
yfast::utils {
5
6
template
<
typename
T,
bool
Const>
7
struct
MaybeConst
;
8
9
template
<
typename
T>
10
struct
MaybeConst
<T, true> {
11
typedef
const
T Type;
12
};
13
14
template
<
typename
T>
15
struct
MaybeConst
<T, false> {
16
typedef
T Type;
17
};
18
19
}
20
21
#endif
yfast::utils::MaybeConst
Definition
maybe_const.h:7
include
yfast
utils
maybe_const.h
Generated by
1.14.0 with
doxygen-awesome
2.3.4