Template Struct FuncReturn¶
Defined in File TypeTraits.hpp
Struct Documentation¶
-
template<class F>
struct FuncReturn¶ Function return type.
Usage: .. code-block::cpp
std::pair<int,int>>); // return type of g is std::pair<int, int>std::pair<int, int> g(std::tuple<int, int, int>); static_assert(std::is_same_v<FuncReturn<decltype(g)>::Type,
api/structPennylane_1_1Util_1_1FuncReturn
Download Python script
Download Notebook
View on GitHub