MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Tuples Namespace Reference

Data Structures

struct  TSkip_Struct
 
struct  TTake_Struct
 
struct  TTrimEnd_Struct
 

Typedefs

template<typename Tuple , size_t... Indices>
using TComposeFrom = TTuple<typename TTupleElement<Indices, Tuple>::Type...>
 
template<size_t Count, typename Tuple >
using TSkip = typename TSkip_Struct<Count, Tuple>::Type
 
template<size_t Count, typename Tuple >
using TTrimEnd = typename TTrimEnd_Struct<Count, Tuple>::Type
 
template<size_t Count, typename Tuple >
using TTake = typename TTake_Struct<Count, Tuple>::Type
 

Detailed Description

Templating utilities for manipulating TTuples

Typedef Documentation

◆ TComposeFrom

template<typename Tuple , size_t... Indices>
using Mcro::Tuples::TComposeFrom = TTuple<typename TTupleElement<Indices, Tuple>::Type...>

Compose one tuple out of the elements of another tuple based on the input index parameter pack

Definition at line 21 of file Tuples.h.

◆ TSkip

template<size_t Count, typename Tuple >
using Mcro::Tuples::TSkip = typename TSkip_Struct<Count, Tuple>::Type

Skip the first Count elements of the input tuple

Definition at line 38 of file Tuples.h.

◆ TTake

template<size_t Count, typename Tuple >
using Mcro::Tuples::TTake = typename TTake_Struct<Count, Tuple>::Type

Take only the first Count elements of the input tuple

Definition at line 72 of file Tuples.h.

◆ TTrimEnd

template<size_t Count, typename Tuple >
using Mcro::Tuples::TTrimEnd = typename TTrimEnd_Struct<Count, Tuple>::Type

Disregard the last Count elements of the input tuple

Definition at line 55 of file Tuples.h.