Rcpp Version 1.0.14
Loading...
Searching...
No Matches
index_sequence.h
Go to the documentation of this file.
1
#ifndef RCPP_TRAITS_INDEX_SEQUENCE_H
2
#define RCPP_TRAITS_INDEX_SEQUENCE_H
3
4
5
#if defined(HAS_VARIADIC_TEMPLATES)
6
7
namespace
Rcpp
{
8
namespace
traits {
14
template
<
int
...>
15
struct
index_sequence
{};
16
17
template
<
int
N
,
int
...
Is
>
18
struct
make_index_sequence
:
make_index_sequence
<N-1, N-1, Is...> {};
19
20
template
<
int
...
Is
>
21
struct
make_index_sequence
<0,
Is
...> :
index_sequence
<Is...> {};
22
}
23
}
24
25
#endif
26
27
#endif
Rcpp
Rcpp API.
Definition
algo.h:28
Rcpp::as
T as(SEXP x)
Definition
as.h:151
inst
include
Rcpp
traits
index_sequence.h
Generated on Sun Jan 12 2025 11:21:43 for Rcpp Version 1.0.14 by
1.9.8