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

Go to the source code of this file.

Classes

struct  sl::tuple::apply_result< Func, Tuple >
 Trait type determining the result of a std::apply call. More...
 
struct  sl::tuple::cat_result< Tuple, Others >
 Trait type determining the result of a std::tuple_cat call. More...
 

Namespaces

namespace  sl
 
namespace  sl::tuple
 
namespace  sl::concepts
 

Concepts

concept  sl::concepts::tuple
 Determines whether a type can be used as a tuple-like.
 
concept  sl::concepts::applicable
 Determines whether the function is invocable with the elements of the given tuple.
 
concept  sl::concepts::nothrow_applicable
 Determines whether the function is invocable with the elements of the given tuple without throwing.
 

Typedefs

template<class Func , class Tuple >
using sl::tuple::apply_result_t = typename apply_result< Func, Tuple >::type
 Alias type determining the result of a std::apply call.
 
template<class... Tuples>
using sl::tuple::tuple_cat_result_t = typename cat_result< Tuples... >::type
 Alias type determining the result of a std::tuple_cat call.