SObjectizer 5.8
Loading...
Searching...
No Matches
so_5::details::lambda_traits Namespace Reference

Helper templates for detection of lambda-type traits. More...

Namespaces

namespace  impl
 Internal implementation details.
 

Classes

struct  is_lambda
 A detector that type is a lambda or functional object. More...
 
struct  plain_argument_type
 Detector of plain type without const/volatile modifiers. More...
 
struct  traits
 Detector of lambda result and argument type. More...
 
struct  traits< R(&)(M) >
 Specialization of lambda traits for reference to ordinary function. More...
 
struct  traits< R(*)(M) >
 Specialization of lambda traits for ordinary function pointer. More...
 
struct  traits< R(L::*)() >
 Specialization of lambda traits for mutable lambda without argument. More...
 
struct  traits< R(L::*)() const >
 Specialization of lambda traits for const-lambda without argument. More...
 
struct  traits< R(L::*)(M) >
 Specialization of lambda traits for mutable lambda. More...
 
struct  traits< R(L::*)(M) const >
 Specialization of lambda traits for const-lambda. More...
 

Typedefs

template<class L >
using argument_type_if_lambda
 A detector of lambda argument type if the checked type is lambda.
 

Detailed Description

Helper templates for detection of lambda-type traits.

Since
v.5.5.4

Typedef Documentation

◆ argument_type_if_lambda

Initial value:
impl::argument_if_lambda<
impl::has_func_call_operator< L >::value, L >

A detector of lambda argument type if the checked type is lambda.

Definition at line 239 of file lambda_traits.hpp.