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
      • Shared Libraries
    • Reference
      • Headers
      • Macros
      • Namespace boost::openmethod
  • boost::openmethod::virtual_traits<Class&, Registry>::peek
arrow_upward

boost::openmethod::virtual_traits<Class&, Registry>::peek

Return a reference to a non‐modifiable Class object.

Synopsis

Declared in <boost/openmethod/core.hpp>

static
Class const&
peek(Class const& arg);

Return Value

A reference to the same object.

Parameters

Name Description

arg

A reference to a non‐modifiable Class object.

Created with MrDocs