|
| template<size_t I, typename... Rest> |
| using | Mcro::Templates::TTypeAtPack = typename TTypeAtPack_Struct<I, Rest...>::Type |
| | Get a specific item from a parameter pack at given index. It is an unspecified compile error to index an empty parameter pack.
|
| |
| template<size_t I, typename... Rest> |
| using | Mcro::Templates::TLastTypeAtPack = typename TTypeAtPack_Struct<sizeof...(Rest) - I, Rest...>::Type |
| | Get a specific item from the end of a parameter pack at given index (0 == last). It is an unspecified compile error to index an empty parameter pack.
|
| |
| template<size_t I, typename... Rest> |
| using | Mcro::Templates::TTypeAtPackDecay = std::decay_t<typename TTypeAtPack_Struct<I, Rest...>::Type> |
| | Get a specific item from a parameter pack at given index disregarding CV-ref qualifiers. It is an unspecified compile error to index an empty parameter pack.
|
| |
| template<size_t I, typename... Rest> |
| using | Mcro::Templates::TLastTypeAtPackDecay = std::decay_t<typename TTypeAtPack_Struct<sizeof...(Rest) - I, Rest...>::Type> |
| | Get a specific item from the end of a parameter pack at given index (0 == last) disregarding CV-ref qualifiers. It is an unspecified compile error to index an empty parameter pack.
|
| |
| template<CIsTypeList T, size_t I> |
| using | Mcro::Templates::TTypes_Get = T::template Get<I> |
| |
| template<CIsTypeList T, size_t I> |
| using | Mcro::Templates::TTypes_GetDecay = T::template GetDecay<I> |
| |
| template<template< typename... > typename Template, typename Instance > |
| using | Mcro::Templates::TTemplate_Params = typename TTemplate<Template>::template Parameters<Instance>::Type |
| | Get template type parameters as a tuple.
|
| |
| template<template< typename... > typename Template, typename Instance > |
| using | Mcro::Templates::TTemplate_ParamsDecay = typename TTemplate<Template>::template ParametersDecay<Instance>::Type |
| | Get decayed template type parameters as a tuple.
|
| |
| template<template< typename... > typename Template, typename Instance , int I> |
| using | Mcro::Templates::TTemplate_Param = typename TTemplate<Template>::template Param<Instance, I> |
| | Get a type parameter at a specified position of a templated instance.
|
| |
| template<template< typename... > typename Template, typename Instance , int I> |
| using | Mcro::Templates::TTemplate_ParamDecay = typename TTemplate<Template>::template ParamDecay<Instance, I> |
| | Get a decayed type parameter at a specified position of a templated instance.
|
| |
|
| template<CConstType T> |
| constexpr auto && | Mcro::Templates::AsConst (T &&input) |
| | Tired of typing const_cast<FMyLongUnwieldyTypeName>(...)? use this instead.
|
| |
| template<CMutableType T> |
| constexpr auto && | Mcro::Templates::AsMutable (T &&input) |
| | Tired of typing const_cast<FMyLongUnwieldyTypeName>(...)? use this instead.
|
| |
| template<typename T > |
| constexpr auto | Mcro::Templates::AsConstPtr (const T *input) |
| | Tired of typing const_cast<FMyLongUnwieldyTypeName*>(...)? use this instead.
|
| |
| template<typename T > |
| constexpr auto | Mcro::Templates::AsConstPtr (T *input) |
| | Tired of typing const_cast<FMyLongUnwieldyTypeName*>(...)? use this instead.
|
| |
| template<typename T > |
| constexpr auto | Mcro::Templates::AsMutablePtr (T *input) |
| | Tired of typing const_cast<FMyLongUnwieldyTypeName*>(...)? use this instead.
|
| |
| template<typename T > |
| constexpr auto | Mcro::Templates::AsMutablePtr (const T *input) |
| | Tired of typing const_cast<FMyLongUnwieldyTypeName*>(...)? use this instead.
|
| |
- Copyright
- This Source Code is subject to the terms of the Mozilla Public License, v2.0. If a copy of the MPL was not distributed with this file You can obtain one at https://mozilla.org/MPL/2.0/
- Author
- David Mórász
- Date
- 2025
Definition in file Templates.h.