Quick Links:

bal | bbl | bdl | bsl

Classes | Public Types

bdlf::Bind_OneResultTypeOrAnother< FUNC > Struct Template Reference

#include <bdlf_bind.h>

List of all members.

Classes

struct  Result

Public Types

typedef Result< FUNC >::type type

Detailed Description

template<class FUNC>
struct bdlf::Bind_OneResultTypeOrAnother< FUNC >

Define the type variable type to be FUNC::result_type if that exists and FUNC::ResultType otherwise. Additionally, for C++11 and above, if FUNC has an operator() member (such as lambda functions), define type to be the return type of that operator.

See Component bdlf_bind


Member Typedef Documentation

template<class FUNC>
typedef Result<FUNC>::type bdlf::Bind_OneResultTypeOrAnother< FUNC >::type

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