Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Static Public Attributes

bsl::is_convertible_dispatch< t_TYPE, t_TYPE & > Struct Template Reference
[Component bslmf_isconvertible]

#include <bslmf_isconvertible.h>

Inheritance diagram for bsl::is_convertible_dispatch< t_TYPE, t_TYPE & >:
bsl::integral_constant< bool, is_reference< t_TYPE >::value||is_function< t_TYPE >::value||is_const< t_TYPE >::value >

List of all members.

Public Types

typedef bool value_type
typedef integral_constant type

Public Member Functions

BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT

Static Public Attributes

static
BSLS_KEYWORD_CONSTEXPR_MEMBER
bool 
value

Detailed Description

template<class t_TYPE>
struct bsl::is_convertible_dispatch< t_TYPE, t_TYPE & >

This set of rules corresponds with the reference binding rules in c++11, where the specification of is_convertible_dispatch relies on rvalue-references. We must supply these specializations directly in order to support C++03 compilers that do not have a good substitute for rvalue-references, as using const & instead produces subtly different results in some cases.

See Component bslmf_isconvertible


Member Typedef Documentation

typedef bool bsl::integral_constant< bool , t_VAL >::value_type [inherited]
typedef integral_constant bsl::integral_constant< bool , t_VAL >::type [inherited]

Member Function Documentation

BSLS_KEYWORD_CONSTEXPR bsl::integral_constant< bool , t_VAL >::operator value_type (  )  const [inherited]

Return t_VAL.


Member Data Documentation

BSLS_KEYWORD_CONSTEXPR_MEMBER bool bsl::integral_constant< bool , t_VAL >::value [static, inherited]

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