fidl::Box

Summary

Inheritance

Inherits from: std::unique_ptr< T >

Constructors and Destructors

Box()
Box(Box && other)
Box(std::unique_ptr< T > ptr)
~Box()

Public functions

has_value() const
bool
operator=(Box && other) noexcept=default
constexpr Box &
unique_ptr()
std::unique_ptr< T > &
unique_ptr() const
const std::unique_ptr< T > &
value() const &
const T &
value()&
T &
value_or(U && default_value) const &
constexpr T

Public functions

Box

constexpr Box() noexcept=default

Box

constexpr Box(
  Box && other
) noexcept=default

Box

constexpr Box(
  std::unique_ptr< T > ptr
) noexcept

has_value

bool has_value() const 

operator=

constexpr Box & operator=(
  Box && other
) noexcept=default

unique_ptr

std::unique_ptr< T > & unique_ptr()

unique_ptr

const std::unique_ptr< T > & unique_ptr() const 

value

const T & value() const &

value

T & value()&

value_or

constexpr T value_or(
  U && default_value
) const &

~Box

 ~Box()=default