libstdc++
std::derived_from Concept Reference

Concept definition

template<typename _Derived, typename _Base>
concept std::derived_from = __is_base_of(_Base, _Derived)
&& is_convertible_v<const volatile _Derived*, const volatile _Base*>
[concept.derived], concept derived_from
Definition: concepts:67

Detailed Description

[concept.derived], concept derived_from

Definition at line 67 of file concepts.