Rcpp Version 1.1.2
Loading...
Searching...
No Matches
is_bool.h
Go to the documentation of this file.
1
#ifndef Rcpp__traits__is_bool__h
2
#define Rcpp__traits__is_bool__h
3
4
namespace
Rcpp
{
namespace
traits
{
5
6
template
<
typename
>
7
struct
is_bool
8
:
public
false_type
{ };
9
10
template
<>
11
struct
is_bool
<bool>
12
:
public
true_type
{ };
13
14
template
<>
15
struct
is_bool
<const bool>
16
:
public
true_type
{ };
17
18
template
<>
19
struct
is_bool
<volatile bool>
20
:
public
true_type
{ };
21
22
}}
23
24
#endif
Rcpp::traits
traits used to dispatch wrap
Definition
Date.h:27
Rcpp::traits::true_type
integral_constant< bool, true > true_type
Definition
integral_constant.h:34
Rcpp::traits::false_type
integral_constant< bool, false > false_type
Definition
integral_constant.h:35
Rcpp
Rcpp API.
Definition
algo.h:28
Rcpp::traits::is_bool
Definition
is_bool.h:8
inst
include
Rcpp
traits
is_bool.h
Generated on
for Rcpp Version 1.1.2 by
1.15.0