Rcpp Version 1.1.2
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
namespace
Rcpp
{
5
namespace
traits
{
11
template
<
int
...>
12
struct
index_sequence
{};
13
14
template
<
int
N,
int
... Is>
15
struct
make_index_sequence
:
make_index_sequence
<N-1, N-1, Is...> {};
16
17
template
<
int
... Is>
18
struct
make_index_sequence
<0, Is...> :
index_sequence
<Is...> {};
19
}
20
}
21
22
#endif
Rcpp::traits
traits used to dispatch wrap
Definition
Date.h:27
Rcpp
Rcpp API.
Definition
algo.h:28
Rcpp::traits::index_sequence
Definition
index_sequence.h:12
Rcpp::traits::make_index_sequence
Definition
index_sequence.h:15
inst
include
Rcpp
traits
index_sequence.h
Generated on
for Rcpp Version 1.1.2 by
1.15.0