Retrieves the back of a tuple.
namespace kumi::result
{
template<product_type Tuple>
struct back;
template<product_type Tuple>
using back_t = typename back<Tuple>::type;
}
KUMI_TRIVIAL_NODISCARD constexpr decltype(auto) back(Tuple &&t)
Retrieves the back of a tuple.
Definition: back-front.hpp:67
#include <kumi/tuple.hpp>
#include <iostream>
int main()
{
std::cout << x << "\n";
}
KUMI_TRIVIAL_NODISCARD constexpr decltype(auto) front(Tuple &&t)
Retrieves the front of a tuple.
Definition: back-front.hpp:38
Fixed-size collection of heterogeneous values.
Definition: tuple.hpp:35