A std::tuple implementation that incorporates most changes from C++23's standard library. More...
#include <seqan3/utility/tuple/common_tuple.hpp>
Inheritance diagram for seqan3::common_tuple< Types >:Public Member Functions | |
Default constructors and assignments. | |
| common_tuple ()=default | |
| Defaulted. | |
| common_tuple (common_tuple const &)=default | |
| Defaulted. | |
| common_tuple & | operator= (common_tuple const &)=default |
| Defaulted. | |
| ~common_tuple ()=default | |
Construct from arguments. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from arguments. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from arguments. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from arguments. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from arguments. | |
Construct from common_tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from common_tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from common_tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from common_tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from common_tuple. | |
Construct from common_pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from common_pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from common_pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from common_pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from common_pair. | |
Construct from std::tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from std::tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from std::tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from std::tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from std::tuple. | |
Construct from std::pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from std::pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from std::pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from std::pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Constructs from std::pair. | |
Assign from common_tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Assigns from common_tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Assigns from common_tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Assigns from common_tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| Assigns from common_tuple. | |
Assign from common_pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
Assign from std::tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
Assign from std::pair. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
Conversion to std::tuple. | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&(std | |
Public Member Functions inherited from std::tuple< Types... > | |
| T | operator= (T... args) |
| T | swap (T... args) |
| T | tuple (T... args) |
Comparison operators (common_tuple) | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs and rhs are equal. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs and rhs are unequal. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs is less than rhs. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs is less than or equal to rhs. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs is greater than rhs. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs is greater than or equal to rhs. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Performs a three-way comparison between lhs and rhs More... | |
| constexpr friend bool | operator== (common_tuple const &lhs, common_tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator!= (common_tuple const &lhs, common_tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator< (common_tuple const &lhs, common_tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator<= (common_tuple const &lhs, common_tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator> (common_tuple const &lhs, common_tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator>= (common_tuple const &lhs, common_tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend auto | operator<=> (common_tuple const &lhs, common_tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
Comparison operators (std::tuple) | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs and rhs are equal. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs and rhs are unequal. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs is less than rhs. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs is less than or equal to rhs. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs is greater than rhs. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Checks whether lhs is greater than or equal to rhs. More... | |
| template<class... UTypes> | |
| requires (sizeof...(Types)==sizeof...(UTypes)) &&requires | |
Performs a three-way comparison between lhs and rhs More... | |
| constexpr friend bool | operator== (common_tuple const &lhs, std::tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator!= (common_tuple const &lhs, std::tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator< (common_tuple const &lhs, std::tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator<= (common_tuple const &lhs, std::tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator> (common_tuple const &lhs, std::tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend bool | operator>= (common_tuple const &lhs, std::tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
| constexpr friend auto | operator<=> (common_tuple const &lhs, std::tuple< UTypes... > const &rhs) |
Checks whether lhs and rhs are equal. More... | |
A std::tuple implementation that incorporates most changes from C++23's standard library.
|
default |
Defaulted.
|
inline |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
inline |
Checks whether lhs and rhs are unequal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
inline |
Checks whether lhs is less than rhs.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
inline |
Checks whether lhs is less than or equal to rhs.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
inline |
Checks whether lhs is greater than rhs.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
inline |
Checks whether lhs is greater than or equal to rhs.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
inline |
Performs a three-way comparison between lhs and rhs
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
inline |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
inline |
Checks whether lhs and rhs are unequal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
inline |
Checks whether lhs is less than rhs.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
inline |
Checks whether lhs is less than or equal to rhs.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
inline |
Checks whether lhs is greater than rhs.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
inline |
Checks whether lhs is greater than or equal to rhs.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
inline |
Performs a three-way comparison between lhs and rhs
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A common_tuple with possibly different element types. |
|
friend |
Checks whether lhs and rhs are equal.
| UTypes | The types of the elements of rhs. Automatically deduced. |
| lhs | A common_tuple. |
| rhs | A std::tuple with possibly different element types. |