libQuotient
A Qt library for building matrix clients
Quotient::function_traits< T > Struct Template Reference

Determine traits of an arbitrary function/lambda/functor. More...

#include <function_traits.h>

Inheritance diagram for Quotient::function_traits< T >:
Collaboration diagram for Quotient::function_traits< T >:

Detailed Description

template<typename T>
struct Quotient::function_traits< T >

Determine traits of an arbitrary function/lambda/functor.

Doesn't work with generic lambdas and function objects that have operator() overloaded.

See also
https://stackoverflow.com/questions/7943525/is-it-possible-to-figure-out-the-parameter-type-and-return-type-of-a-lambda#7943765

Definition at line 23 of file function_traits.h.


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