Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Static Public Attributes

bslmf::IsAccessibleBaseOf< t_BASE, t_DERIVED > Class Template Reference

#include <bslmf_isaccessiblebaseof.h>

Inheritance diagram for bslmf::IsAccessibleBaseOf< t_BASE, t_DERIVED >:
bsl::integral_constant< bool, bsl::is_class< bsl::remove_cv< t_BASE >::type >::value &&bsl::is_class< bsl::remove_cv< t_DERIVED >::type >::value &&bsl::is_convertible< bsl::remove_cv< t_DERIVED >::type *, bsl::remove_cv< t_BASE >::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_BASE, class t_DERIVED>
class bslmf::IsAccessibleBaseOf< t_BASE, t_DERIVED >

This struct template provides a type trait to determine if one class is an accessible base class of another class. Note that, while similar to std::is_base_of, when the derived relationship is via private, protected, or ambiguous inheritance IsAccessibleBaseOf evaluates to false.

See Component bslmf_isaccessiblebaseof


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 class was generated from the following file: