![]() |
Audacity 3.2.0
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | is_tuple |
| Type test metapredicate, for specializations of std::tuple only. More... | |
| struct | is_tuple< std::tuple< Types... > > |
| struct | is_tuple_like |
| Type test metapredicate, for more general tuple-like types. More... | |
| struct | is_tuple_like< T, std::void_t< decltype(std::tuple_size< T >{})> > |
Typedefs | |
| template<typename Tuple > | |
| using | All_t = decltype(All(std::declval< Tuple >())) |
| Type of projection of all of a tuple. More... | |
| template<typename Tuple > | |
| using | ForwardAll_t = decltype(ForwardAll(std::declval< Tuple >())) |
| Type of forwarding references to all members of a tuple. More... | |
| template<typename Tuple > | |
| using | Next_t = decltype(Next(std::declval< Tuple >())) |
| Type of projection of the tail of a tuple. More... | |
| template<typename Tuple > | |
| using | ForwardNext_t = decltype(ForwardNext(std::declval< Tuple >())) |
| Type of forwarding references to tail members of a tuple. More... | |
Functions | |
| template<typename Tuple > | |
| constexpr bool | Empty (const Tuple &tuple) |
| template<size_t... Indices, typename Tuple > | |
| auto | Projection (const std::index_sequence< Indices... > &, Tuple &&tuple) |
| Destructures a std::index_sequence argument. More... | |
| template<size_t... Indices, typename Tuple > | |
| constexpr auto | ForwardingProjection (const std::index_sequence< Indices... > &, Tuple &&tuple) |
| Destructures a std::index_sequence argument. More... | |
| template<typename Tuple > | |
| auto | All (Tuple &&tuple) |
| Projection of all of a tuple. More... | |
| template<typename Tuple > | |
| auto | ForwardAll (Tuple &&tuple) |
| Forwarding of all of a tuple. More... | |
| template<typename Tuple , typename Decayed = std::decay_t<Tuple>, auto Length = std::tuple_size_v<Decayed>, typename sfinae = std::enable_if_t<(Length > 0)>> | |
| auto | Next (Tuple &&tuple) |
| Projection of the tail of a tuple. More... | |
| template<typename Tuple , typename Decayed = std::decay_t<Tuple>, auto Length = std::tuple_size_v<Decayed>, typename sfinae = std::enable_if_t<(Length > 0)>> | |
| auto | ForwardNext (Tuple &&tuple) |
| Forwarding of the tail of a tuple. More... | |
Variables | |
| template<typename T > | |
| static constexpr auto | is_tuple_v = is_tuple<T>::value |
| template<typename T > | |
| static constexpr auto | is_tuple_like_v |
| template<typename Tuple > | |
| constexpr bool | Empty_v |
| template<size_t... Indices> | |
| constexpr auto | Project |
| Return a tuple of values initialized from a subsequence of a tuple. More... | |
| template<size_t... Indices> | |
| constexpr auto | ForwardProject |
| Forwarding of a subsequence of a tuple. More... | |
| using Tuple::All_t = typedef decltype(All(std::declval<Tuple>())) |
| using Tuple::ForwardAll_t = typedef decltype(ForwardAll(std::declval<Tuple>())) |
| using Tuple::ForwardNext_t = typedef decltype(ForwardNext(std::declval<Tuple>())) |
| using Tuple::Next_t = typedef decltype(Next(std::declval<Tuple>())) |
| auto Tuple::All | ( | Tuple && | tuple | ) |
Projection of all of a tuple.
Definition at line 120 of file Tuple.h.
References Projection().
Referenced by Registry::detail::MakeTuple_().
|
constexpr |
Definition at line 41 of file Tuple.h.
Referenced by TEST_CASE().
| auto Tuple::ForwardAll | ( | Tuple && | tuple | ) |
Forwarding of all of a tuple.
Definition at line 130 of file Tuple.h.
References ForwardingProjection().
Referenced by Registry::detail::ForwardTuple_().
|
constexpr |
Destructures a std::index_sequence argument.
Definition at line 113 of file Tuple.h.
References ForwardProject.
Referenced by ForwardAll(), and ForwardNext().
| auto Tuple::ForwardNext | ( | Tuple && | tuple | ) |
Forwarding of the tail of a tuple.
Definition at line 161 of file Tuple.h.
References ForwardingProjection().
Referenced by TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >::Combine< Fs, Wrapped >::Transparent::type::operator()(), and TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >::Combine< Fs, Wrapped >::CombineOp< BaseClass, NextBase >::Wrapper::operator()().
| auto Tuple::Next | ( | Tuple && | tuple | ) |
Projection of the tail of a tuple.
Definition at line 146 of file Tuple.h.
References Projection().
| auto Tuple::Projection | ( | const std::index_sequence< Indices... > & | , |
| Tuple && | tuple | ||
| ) |
Destructures a std::index_sequence argument.
Definition at line 91 of file Tuple.h.
References Project.
Referenced by All(), and Next().
|
constexpr |
|
constexpr |
Forwarding of a subsequence of a tuple.
Definition at line 98 of file Tuple.h.
Referenced by ForwardingProjection().
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
Return a tuple of values initialized from a subsequence of a tuple.
Definition at line 77 of file Tuple.h.
Referenced by Projection().