Caffe2 - C++ API
A deep learning, cross platform ML framework
c10::guts::function_traits< Func > Struct Template Reference

Access information about result type or arguments from a function type. More...

#include <Metaprogramming.h>

Detailed Description

template<class Func>
struct c10::guts::function_traits< Func >

Access information about result type or arguments from a function type.

Example: using A = function_traits<int (float, double)>::return_type // A == int using A = function_traits<int (float, double)>::parameter_types::tuple_type // A == tuple<float, double>

Definition at line 35 of file Metaprogramming.h.


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