Public Types | List of all members
cudf::test::Repeat< N > Struct Template Reference

Transformation that repeats a type for a specified count. More...

#include <type_list_utilities.hpp>

Public Types

template<class T >
using Call = typename detail::Repeat< T, N, Types<> >::type
 Invoked as predicate for Transform. More...
 

Detailed Description

template<int N>
struct cudf::test::Repeat< N >

Transformation that repeats a type for a specified count.

Used in Transform.

Example:

// Repeat transformation repeats each type for a specified count
using MyTypes = Transform<Repeat<2>, Types<int, float>>;
// MyTypes == Types< Types<int, int>, Types<float, float>>);
Template Parameters
NThe number of times to repeat the type

Definition at line 505 of file type_list_utilities.hpp.

Member Typedef Documentation

◆ Call

template<int N>
template<class T >
using cudf::test::Repeat< N >::Call = typename detail::Repeat<T, N, Types<> >::type

Invoked as predicate for Transform.

Template Parameters
TThe type to repeat

Definition at line 512 of file type_list_utilities.hpp.


The documentation for this struct was generated from the following file: