|
CeresEngine 0.2.0
A game development framework
|
Tuple is a fixed-size collection of heterogeneous values.
More...
#include <CeresEngine/Foundation/Container/Tuple.hpp>
Public Types | |
| template<std::size_t I> | |
| using | ElementType = typename std::tuple_element< I, Base >::type |
Public Member Functions | |
| template<typename T > | |
| constexpr T & | get () & |
| template<typename T > | |
| constexpr T && | get () && |
| template<typename T > | |
| constexpr const T & | get () const & |
| template<typename T > | |
| constexpr const T && | get () const && |
| template<std::size_t I> | |
| constexpr ElementType< I > & | get () & |
| template<std::size_t I> | |
| constexpr ElementType< I > && | get () && |
| template<std::size_t I> | |
| constexpr const ElementType< I > & | get () const & |
| template<std::size_t I> | |
| constexpr const ElementType< I > && | get () const && |
| template<typename Function > | |
| decltype(auto) | apply (Function &&function) & |
| template<typename Function > | |
| decltype(auto) | apply (Function &&function) && |
| template<typename Function > | |
| decltype(auto) | apply (Function &&function) const & |
| template<typename Function > | |
| decltype(auto) | apply (Function &&function) const && |
Private Types | |
| using | Base = std::tuple< Ts... > |
Private Member Functions | |
| Base & | base () & |
| Base && | base () && |
| const Base & | base () const & |
| const Base && | base () const && |
Friends | |
| template<class... TTypes, class... UTypes> | |
| constexpr bool | operator== (const Tuple< TTypes... > &lhs, const Tuple< UTypes... > &rhs) |
| template<class... TTypes, class... UTypes> | |
| constexpr bool | operator!= (const Tuple< TTypes... > &lhs, const Tuple< UTypes... > &rhs) |
| template<class... TTypes, class... UTypes> | |
| constexpr bool | operator< (const Tuple< TTypes... > &lhs, const Tuple< UTypes... > &rhs) |
| template<class... TTypes, class... UTypes> | |
| constexpr bool | operator<= (const Tuple< TTypes... > &lhs, const Tuple< UTypes... > &rhs) |
| template<class... TTypes, class... UTypes> | |
| constexpr bool | operator> (const Tuple< TTypes... > &lhs, const Tuple< UTypes... > &rhs) |
| template<class... TTypes, class... UTypes> | |
| constexpr bool | operator>= (const Tuple< TTypes... > &lhs, const Tuple< UTypes... > &rhs) |
Tuple is a fixed-size collection of heterogeneous values.
It is a generalization of Pair.
|
private |
| using CeresEngine::Tuple< Ts >::ElementType = typename std::tuple_element<I, Base>::type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |