Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types
c10::guts::infer_function_traits< Functor > Struct Template Reference

infer_function_traits: creates a function_traits type for a simple function (pointer) or functor (lambda/struct). More...

#include <Metaprogramming.h>

Public Types

using type = function_traits< c10::guts::detail::strip_class_t< decltype(&Functor::operator())>>
 

Detailed Description

template<typename Functor>
struct c10::guts::infer_function_traits< Functor >

infer_function_traits: creates a function_traits type for a simple function (pointer) or functor (lambda/struct).

Currently does not support class methods.

Definition at line 53 of file Metaprogramming.h.


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