|
| template<CTuple T> |
| using | Mcro::Tuples::TIndexSequenceForTuple = std::make_index_sequence<GetSize<T>()> |
| |
| template<size_t I, CTuple T> |
| using | Mcro::Tuples::TTypeAt = typename TTypeAt_Struct<I, T>::Type |
| |
| template<size_t I, CTuple T> |
| using | Mcro::Tuples::TTypeAtDecayed = std::decay_t<typename TTypeAt_Struct<I, T>::Type> |
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
|
| template<size_t I, CStdTupleLike T> |
| decltype(auto) | Mcro::Tuples::GetItem (T &&tuple) |
| |
| template<CStdOrRangeV3Tuple T> |
| consteval size_t | Mcro::Tuples::GetSize () |
| |
| template<typename T , typename RestTuple , size_t... Indices> |
| auto | Mcro::Tuples::Detail::Prepend_Impl (T &&left, RestTuple const &right, std::index_sequence< Indices... > &&) |
| |
| template<typename T , typename RestTuple , size_t... Indices> |
| auto | Mcro::Tuples::Detail::Append_Impl (T &&right, RestTuple const &left, std::index_sequence< Indices... > &&) |
| |
| template<typename T , typename... Rest> |
| TTuple< T, Rest... > | Mcro::Tuples::operator>> (T &&left, TTuple< Rest... > const &right) |
| | Prepend a value to a tuple.
|
| |
| template<typename T , typename... Rest> |
| TTuple< Rest..., T > | Mcro::Tuples::operator<< (TTuple< Rest... > const &left, T &&right) |
| | Append a value to a tuple.
|
| |
- 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 Tuples.h.