Boost.OpenMethod

    • Motivation
    • Basic Features
      • Methods and Overriders
      • Performance
      • Smart Pointers
      • Header and Implementation Files
      • Namespaces
      • Friends
      • Multiple Dispatch
    • Advanced Features
      • Core API
      • Registries and Policies
      • Custom RTTI
      • Error Handling
      • Virtual Pointer Alternatives
      • Interoperation with any
      • Interoperation with Boost.TypeErasure
      • Shared Libraries
    • Reference
      • Headers
      • Macros
      • Namespace boost::openmethod
    • Acknowledgements
  • boost::openmethod::virtual_any::operator=
arrow_upward

boost::openmethod::virtual_any::operator=

Assign from an any (copy).

Synopsis

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

virtual_any&
operator=(Any const& other);

Description

Copies other, and re‐acquires the v‐table pointer for the contained value.

Parameters

Name

Description

other

An any.

Created with MrDocs