/////////////////////////////////////////////////////////////////////////////

Synopses

Declared in <folly/Poly.h>

[[noreturn]]
/* implementation-defined */
poly_move(/* implementation-defined */ const&) noexcept;
template<class Poly>
requires detail::IsPoly<Poly>::value
constexpr
decltype(poly_move(that.get()))
poly_move(Poly& that) noexcept;

/////////////////////////////////////////////////////////////////////////////

template<class I>
requires (!std::is_reference<I>::value)
constexpr
Poly<I>&&
poly_move(/* implementation-defined */& that) noexcept;
template<class I>
requires (!std::is_const<I>::value)
Poly<I&&>
poly_move(/* implementation-defined */ const& that) noexcept;
template<class I>
Poly<I const&>
poly_move(/* implementation-defined */ const& that) noexcept;

Return Value

An rvalue‐reference Poly referring to that.

Parameters

Name

Description

that

The Poly object to move from.

Created with MrDocs