Rcpp Version 1.0.14
All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
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
4namespace Rcpp {
5namespace traits {
6
7template <bool B, typename T = void>
8struct enable_if {};
9
10template <typename T>
11struct enable_if<true, T> {
12 typedef T type;
13};
14
15}
16}
17
18#endif
Rcpp API.
Definition algo.h:28
T as(SEXP x)
Definition as.h:151