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::weak_virtual_ptr::expired
arrow_upward

boost::openmethod::weak_virtual_ptr::expired

Check whether the object still exists

Synopsis

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

bool
expired() const noexcept;

Return Value

true if the std::weak_ptr is empty or the object has been destroyed, false otherwise.

Created with MrDocs