boost::openmethod::VirtualTraits::rebind

Rebind to a another class (smart pointers only).

Synopsis

template<class U>
using rebind = /* implementation-defined */;

Description

If T is a smart pointer, rebind<U> is the same kind of smart pointer, but pointing to a U.

rebind must be implemented only for smart pointer classes that can be used as object pointers by virtual_ptr in place of plain pointers.

Template Parameters

Name Description

U

The new element type.

Created with MrDocs