|
ORIGINAL
|
Generic pair container implementation. More...


Go to the source code of this file.
Classes | |
| class | original::couple< F_TYPE, S_TYPE > |
| Container for two heterogeneous elements. More... | |
| struct | std::tuple_size< original::couple< F, S > > |
| Specialization of tuple_size for couple to enable structured bindings. More... | |
| struct | std::tuple_element< I, original::couple< F, S > > |
| Specialization of tuple_element for couple to enable structured bindings. More... | |
Namespaces | |
| namespace | original |
| Main namespace for the project Original. | |
Functions | |
| template<std::size_t I, typename F , typename S > | |
| constexpr auto & | std::get (original::couple< F, S > &c) noexcept |
| Structured binding support - get for non-const lvalue reference. | |
| template<std::size_t I, typename F , typename S > | |
| constexpr const auto & | std::get (const original::couple< F, S > &c) noexcept |
| Structured binding support - get for const lvalue reference. | |
| template<std::size_t I, typename F , typename S > | |
| constexpr auto && | std::get (original::couple< F, S > &&c) noexcept |
| Structured binding support - get for rvalue reference. | |
Generic pair container implementation.
Provides a template class for storing two elements of different types with printing capabilities. Supports equality comparison, formatted output, move semantics, and structured binding support.
|
constexprnoexcept |
Structured binding support - get for const lvalue reference.
| I | Index of element (0 or 1) |
| F | Type of first element |
| S | Type of second element |
| c | couple to get element from |
|
constexprnoexcept |
Structured binding support - get for rvalue reference.
| I | Index of element (0 or 1) |
| F | Type of first element |
| S | Type of second element |
| c | couple to get element from |
|
constexprnoexcept |
Structured binding support - get for non-const lvalue reference.
| I | Index of element (0 or 1) |
| F | Type of first element |
| S | Type of second element |
| c | couple to get element from |