Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::InvokeResult_MemPtrArgQualifiers< t_MEMOF_CLASS, t_ARG_TYPE, t_IS_DERIVED > Struct Template Reference

#include <bslmf_invokeresult.h>

List of all members.

Public Types

enum  { k_IS_LVALUE = bsl::is_lvalue_reference<t_ARG_TYPE>::value, k_IS_CONST, k_IS_VOLATILE }

Detailed Description

template<class t_MEMOF_CLASS, class t_ARG_TYPE, bool t_IS_DERIVED = bsl::is_convertible< typename bsl::decay<t_ARG_TYPE>::type *, typename bsl::decay<t_MEMOF_CLASS>::type *>::value>
struct bslmf::InvokeResult_MemPtrArgQualifiers< t_MEMOF_CLASS, t_ARG_TYPE, t_IS_DERIVED >

This metafunction determines which cv qualifiers and reference qualifiers should be propagated from the first argument of invoke_result. This primary template is instantiated when t_ARG_TYPE is the same or is derived from t_MEMOF_CLASS. The constant k_IS_LVALUE is true iff t_ARG_TYPE is an lvalue reference; the constant k_IS_CONST is true iff t_ARG_TYPE is const-qualified; and the constant k_IS_VOLATILE is true iff t_ARG_TYPE is volatile-qualified.

See Component bslmf_invokeresult


Member Enumeration Documentation

template<class t_MEMOF_CLASS , class t_ARG_TYPE , bool t_IS_DERIVED = bsl::is_convertible< typename bsl::decay<t_ARG_TYPE>::type *, typename bsl::decay<t_MEMOF_CLASS>::type *>::value>
anonymous enum
Enumerator:
k_IS_LVALUE 
k_IS_CONST 
k_IS_VOLATILE 

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