std::tuple of N copies of T (used to build the SpaceDim position columns).
More...
#include <CD_ParticleSoA.H>
|
|
template<std::size_t > |
| using | Always = T |
| | Helper alias that maps any index to T.
|
| |
|
using | Type = decltype(make(std::make_index_sequence< N >{})) |
| | The resulting std::tuple type.
|
| |
|
| template<std::size_t... I> |
| static std::tuple< Always< I >... > | make (std::index_sequence< I... >) |
| | Deduce the repeated-tuple type from an index sequence (declaration only).
|
| |
template<typename T, std::size_t N>
struct detail::RepeatTuple< T, N >
std::tuple of N copies of T (used to build the SpaceDim position columns).
- Template Parameters
-
| T | Element type to repeat. |
| N | Number of repetitions. |
◆ make()
template<typename T , std::size_t N>
template<std::size_t... I>
Deduce the repeated-tuple type from an index sequence (declaration only).
- Template Parameters
-
- Returns
- A std::tuple of N copies of T.
The documentation for this struct was generated from the following file: