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

# boost::openmethod::virtual_traits<std::unique_ptr<Class>, Registry>::peek

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

## Synopsis

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

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

## Return Value

A reference to the object pointed to.

## Parameters

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

Created with MrDocs