boost::openmethod::virtual_traits<virtual_ptr<Class, Registry>, Registry>::peek :: Boost.OpenMethod

# boost::openmethod::virtual_traits<virtual_ptr<Class, Registry>, Registry>::peek

Return a reference to a non‐modifiable `Class` object.

## Synopsis

Declared in `<boost/openmethod/core.hpp>`

    static
    virtual_ptr<Class, Registry> const&
    peek(virtual_ptr<Class, Registry> const& ptr);

## Return Value

A reference to the same object.

## Parameters

Name | Description
--- | ---
arg | A reference to a non‐modifiable `Class` object.

Created with MrDocs