Rcpp Version 1.0.14
Loading...
Searching...
No Matches
enable_if.h
Go to the documentation of this file.
1
#ifndef RCPP_TRAITS_ENABLE_IF_H
2
#define RCPP_TRAITS_ENABLE_IF_H
3
4
namespace
Rcpp
{
5
namespace
traits {
6
7
template
<
bool
B,
typename
T =
void
>
8
struct
enable_if
{};
9
10
template
<
typename
T>
11
struct
enable_if
<
true
, T> {
12
typedef
T
type
;
13
};
14
15
}
16
}
17
18
#endif
Rcpp
Rcpp API.
Definition
algo.h:28
Rcpp::as
T as(SEXP x)
Definition
as.h:151
Rcpp::traits::enable_if< true, T >::type
T type
Definition
enable_if.h:12
Rcpp::traits::enable_if
Definition
enable_if.h:8
inst
include
Rcpp
traits
enable_if.h
Generated on Sun Jan 12 2025 11:21:43 for Rcpp Version 1.0.14 by
1.9.8