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::virtual_traits<std::shared_ptr<Class>, Registry>::rebind
arrow_upward

boost::openmethod::virtual_traits<std::shared_ptr<Class>, Registry>::rebind

Rebind to a different element type.

Synopsis

Declared in <boost/openmethod/interop/std_shared_ptr.hpp>

template<class Other>
using rebind = std::shared_ptr<Other>;

Template Parameters

Name Description

Other

The new element type.

Created with MrDocs