Rcpp Version 1.0.9
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::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 Sat Jul 9 2022 09:14:52 for Rcpp Version 1.0.9 by
1.9.1