Base VTable specification.
More...
Base VTable specification.
Definition at line 177 of file any.hpp.
◆ copy
Copies the inner content of the src union into the yet unitialized dest union. As such, both inner objects will have the same state, but on separate memory locations.
Definition at line 191 of file any.hpp.
◆ destroy
void(* linb::any::vtable_type::destroy) (storage_union &) noexcept |
|
noexcept |
Destroys the object in the union. The state of the union after this call is unspecified, caller must ensure not to use src anymore.
Definition at line 187 of file any.hpp.
◆ move
Moves the storage from src to the yet unitialized dest union. The state of src after this call is unspecified, caller must ensure not to use src anymore.
Definition at line 195 of file any.hpp.
◆ swap
Exchanges the storage between lhs and rhs.
Definition at line 198 of file any.hpp.
◆ type
const std::type_info&(* linb::any::vtable_type::type) () noexcept |
|
noexcept |
The type of the object this vtable is for.
Definition at line 183 of file any.hpp.
The documentation for this struct was generated from the following file: