Template Struct FuncReturn

Struct Documentation

template<class F>
struct FuncReturn

Function return type.

Usage: .. code-block::cpp

std::pair<int, int> g(std::tuple<int, int, int>);
static_assert(std::is_same_v<FuncReturn<decltype(g)>::Type,
std::pair<int,int>>); // return type of g is std::pair<int, int>