BDE 4.14.0 Production release
Loading...
Searching...
No Matches
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 >

Additional Inherited Members

- Public Types inherited from 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 >
typedef bool value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from 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 >
 integral_constant ()=default
 
 integral_constant (const integral_constant &)=default
 
integral_constant operator= (const integral_constant &)=default
 
 ~integral_constant ()=default
 
BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT
 Return t_VAL.
 
- Static Public Attributes inherited from 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 >
static const 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.


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