Boost.OpenMethod

    • Introduction
    • Open-Methods 101
    • Performance
    • Smart Pointers
    • Headers
    • Namespaces
    • Friendship
    • Multiple Dispatch
    • Advanced Features
      • Core API
      • Registries and Policies
      • Custom RTTI
      • Error Handling
      • Virtual Pointer Alternatives
      • Shared Libraries
    • Reference
      • Headers
      • Macros
      • Namespace boost::openmethod
  • boost::openmethod::policies::RttiFn::is_polymorphic
arrow_upward

boost::openmethod::policies::RttiFn::is_polymorphic

Tests if a class is polymorphic.

Synopsis

Declared in <boost/openmethod/preamble.hpp>

template<class Class>
inline constexpr static
bool is_polymorphic = std::is_polymorphic_v<Class>;

Template Parameters

Name Description

Class

A class.

Created with MrDocs