Simple-Utility v2.3.1
Loading...
Searching...
No Matches
Tuple.hpp File Reference
#include "Simple-Utility/concepts/utility.hpp"
#include "Simple-Utility/functional/Transform.hpp"
#include "Simple-Utility/tuple/General.hpp"
#include <tuple>
#include <utility>
Include dependency graph for Tuple.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sl
 
namespace  sl::functional
 
namespace  sl::functional::tuple
 

Typedefs

template<function Fn>
using sl::functional::Apply = BasicClosure< Fn, NodiscardApplyPolicy, PipeOperator >
 Stores a functional and forwards elements from provided tuples as params on invocation.
 

Variables

template<class T >
constexpr auto sl::functional::tuple::get
 Functional object which retrieves an object of a specific type from a tuple-like argument.
 
template<std::size_t index>
constexpr auto sl::functional::tuple::get_at
 Functional object which retrieves an object at a specific index from a tuple-like argument.
 
template<class... Args>
constexpr auto sl::functional::tuple::reduce
 Reduces (or permutes) the components of a tuple and returns a them as new tuple.
 
constexpr auto sl::functional::tuple::concat
 Combines all elements from each given tuple into one tuple.
 
constexpr auto sl::functional::tuple::tie
 Combines all given lvalue references into one tuple.
 
template<class To >
constexpr auto sl::functional::tuple::make_from
 Constructs an object with elements from the source tuple as constructor arguments.