Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::tuple::apply_result< Func, Tuple > Struct Template Reference

Trait type determining the result of a std::apply call. More...

#include <General.hpp>

Public Types

using type = decltype(std::apply(std::declval< Func >(), std::declval< Tuple >()))
 

Detailed Description

template<class Func, class Tuple>
requires concepts::applicable<Func, Tuple>
struct sl::tuple::apply_result< Func, Tuple >

Trait type determining the result of a std::apply call.

See also
https://en.cppreference.com/w/cpp/utility/apply
Template Parameters
FuncType to check.
TupleProvided tuple argument type.

Member Typedef Documentation

◆ type

template<class Func , class Tuple >
using sl::tuple::apply_result< Func, Tuple >::type = decltype(std::apply(std::declval<Func>(), std::declval<Tuple>()))

The documentation for this struct was generated from the following file: