boost::openmethod::virtual_traits<std::shared_ptr<Class> const&, Registry>::peek :: Boost.OpenMethod

# boost::openmethod::virtual_traits<std::shared_ptr<Class> const&, Registry>::peek

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

## Synopsis

Declared in `<boost/openmethod/interop/std_shared_ptr.hpp>`

    static
    Class const&
    peek(std::shared_ptr<Class> const& arg);

## Return Value

A reference to the object pointed to.

## Parameters

Name | Description
--- | ---
arg | A reference to a `std::shared_ptr<Class>`.

Created with MrDocs