Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::InvokeResult_AddCVRef< t_UNQUAL_TYPE, t_IS_CONST, t_IS_VOLATILE, t_IS_LVALUE > Struct Template Reference

#include <bslmf_invokeresult.h>

List of all members.

Public Types

typedef bsl::conditional
< t_IS_LVALUE, typename
bsl::add_lvalue_reference
< CVQualType >::type,
CVQualType >::type 
type

Detailed Description

template<class t_UNQUAL_TYPE, bool t_IS_CONST, bool t_IS_VOLATILE, bool t_IS_LVALUE>
struct bslmf::InvokeResult_AddCVRef< t_UNQUAL_TYPE, t_IS_CONST, t_IS_VOLATILE, t_IS_LVALUE >

Starting with type, t_UNQUAL_TYPE, generate a new type by applying the following steps in order:

  1. If the specified t_IS_CONST parameter is true, apply bsl::add_const; otherwise leave unchanged.
  2. If the specified t_IS_VOLATILE parameter is true, apply bsl::add_volatile; otherwise leave unchanged.
  3. If the specified t_IS_LVALUE parameter is true, apply bsl::add_lvalue_reference; otherwise leave unchanged.

Set the type member to the resulting type.

See Component bslmf_invokeresult


Member Typedef Documentation

template<class t_UNQUAL_TYPE , bool t_IS_CONST, bool t_IS_VOLATILE, bool t_IS_LVALUE>
typedef bsl::conditional< t_IS_LVALUE, typename bsl::add_lvalue_reference<CVQualType>::type, CVQualType>::type bslmf::InvokeResult_AddCVRef< t_UNQUAL_TYPE, t_IS_CONST, t_IS_VOLATILE, t_IS_LVALUE >::type

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