fit::nullable< T, true >
Summary
Public types
Public functions
has_value
constexpr bool has_value() const
nullable
constexpr nullable()
nullable
constexpr nullable(
decltype(nullptr)
)
nullable
constexpr nullable(
T value
)
nullable
constexpr nullable(
const nullable & other
)=default
nullable
constexpr nullable(
nullable && other
)
operator bool
constexpr operator bool() const
operator*
constexpr T & operator*()
operator*
constexpr const T & operator*() const
operator->
constexpr T * operator->()
operator->
constexpr const T * operator->() const
operator=
constexpr nullable & operator=(
decltype(nullptr)
)
operator=
constexpr nullable & operator=(
T value
)
reset
constexpr void reset()
swap
constexpr void swap(
nullable & other
)
value
constexpr T & value()&
value
constexpr const T & value() const &
value
constexpr T && value()&&
value
constexpr const T && value() const &&
value_or
constexpr T value_or(
U && default_value
) const
~nullable
~nullable()=default
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."],[],[]]