boost::openmethod::IsPolymorphic

Test if argument is polymorphic (exposition only)

Synopsis

template<
    class Class,
    class Registry>
constexpr bool IsPolymorphic = Registry::rtti::template is_polymorphic<Class>;

Description

Evaluates to true if Class is a polymorphic type, according to the rtti policy of Registry.

If Registry's rtti policy is std_rtti`, this is the same as std::is_polymorphic. However, other `rtti` policies may have a different view of what is polymorphic.

Template Parameters

Name Description

Class

A class type.

Registry

A registry.

Created with MrDocs