|
Blender V4.3
|
#include <BLI_parameter_pack_utils.hh>
Static Public Member Functions | |
| static constexpr size_t | size () noexcept |
| template<size_t I> | |
| static constexpr T | at_index () |
| template<T Element> | |
| static constexpr bool | contains () |
A type that encodes a list of values of the same type. This is similar to #std::integer_sequence, but a bit more general. It's main purpose it to also support enums instead of just ints.
Definition at line 40 of file BLI_parameter_pack_utils.hh.
|
inlinestaticconstexpr |
Get the element at a specific index.
Definition at line 52 of file BLI_parameter_pack_utils.hh.
References I.
|
inlinestaticconstexpr |
Return true if the element is in the sequence.
Definition at line 61 of file BLI_parameter_pack_utils.hh.
|
inlinestaticconstexprnoexcept |
Get the number of elements in the sequence.
Definition at line 44 of file BLI_parameter_pack_utils.hh.