Blender  V3.3
Public Types | Static Public Member Functions | List of all members
blender::TypeSequence< T > Struct Template Reference

#include <BLI_parameter_pack_utils.hh>

Public Types

template<size_t I>
using at_index = std::tuple_element_t< I, std::tuple< T... > >
 

Static Public Member Functions

static constexpr size_t size () noexcept
 

Detailed Description

template<typename... T>
struct blender::TypeSequence< T >

A type that encodes a list of types. #std::tuple can also encode a list of types, but has a much more complex implementation.

Definition at line 62 of file BLI_parameter_pack_utils.hh.

Member Typedef Documentation

◆ at_index

template<typename... T>
template<size_t I>
using blender::TypeSequence< T >::at_index = std::tuple_element_t<I, std::tuple<T...> >

Get the type at a specific index.

Definition at line 74 of file BLI_parameter_pack_utils.hh.

Member Function Documentation

◆ size()

template<typename... T>
static constexpr size_t blender::TypeSequence< T >::size ( )
inlinestaticconstexprnoexcept

Get the number of types in the sequence.

Definition at line 66 of file BLI_parameter_pack_utils.hh.

Referenced by blender::fn::CustomMF< ParamTags >::CustomMF(), and blender::fn::CustomMF< ParamTags >::execute().


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