Values
boxed
#include "dxfio/boxed.hpp"In DxfIO
class Boxed
template <class ValueT>A part of an entity kept on the heap, so the Entity variant stays small. It copies and compares as the part.
Boxed()Holds a default part.
explicit Boxed(ValueT value)Holds that part.
Boxed(const Boxed &other)Holds a copy of the other's part, or none when the other is valueless.
Boxed(Boxed &&other) noexcept = defaultTakes the other's part, leaving the other valueless.
~Boxed() = defaultFrees the part.
auto Valueless() const noexcept -> boolWhether it holds no part, as after its part was moved out.