ORIGINAL
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
couple.h File Reference

Generic pair container implementation. More...

#include "printable.h"
#include "comparable.h"
#include "types.h"
#include "error.h"
Include dependency graph for couple.h:
This graph shows which files directly or indirectly include this file:

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.
 
namespace  std
 Standard namespace extensions for original::alternative.
 

Functions

template<typename F , typename S >
void std::swap (original::couple< F, S > &lhs, original::couple< F, S > &rhs) noexcept
 Specialization of std::swap for original::couple.
 
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.
 

Detailed Description

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.