Rcpp Version 1.0.14
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
Rcpp API.
Definition
algo.h:28
Rcpp::as
T as(SEXP x)
Definition
as.h:151
Rcpp::traits::integral_constant
Definition
integral_constant.h:29
Rcpp::traits::is_bool
Definition
is_bool.h:8
inst
include
Rcpp
traits
is_bool.h
Generated on Sun Jan 12 2025 11:21:43 for Rcpp Version 1.0.14 by
1.9.8