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
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_or
constexpr T value_or(
U && default_value
) const &
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-14 UTC."],[],[]]