boost::openmethod::virtual_any::operator=
Assignment operators
Synopses
Declared in <boost/openmethod/interop/virtual_any.hpp>
Copy assignment operator.
virtual_any&
operator=(virtual_any const& other) = default;
Move assignment operator.
virtual_any&
operator=(virtual_any&& other);
Assign from an any (copy).
virtual_any&
operator=(Any const& other);
Assign from an any (move).
virtual_any&
operator=(Any&& other);
Assign from a value.
template<typename T>
requires !BOOST_OPENMETHOD_DETAIL_UNLESS_MRDOCS
IsVirtualAny<std::decay_t<T>> &&
!std::is_same_v<std::decay_t<T>, Any> &&
std::is_constructible_v<Any, T&&>
virtual_any&
operator=(T&& value);
Parameters
Name |
Description |
other |
A |
value |
The value to store. |
Created with MrDocs