René's URL Explorer Experiment


Title: std::optional - cppreference.com

Generator: MediaWiki 1.43.8

direct link

Domain: www.cppreference.com

format-detectiontelephone=no

Links:

cppreference.comhttps://www.cppreference.com/
Create accounthttps://www.cppreference.com/index.php?title=Special:CreateAccount&returnto=cpp%2Futility%2Foptional
Log inhttps://www.cppreference.com/index.php?title=Special:UserLogin&returnto=cpp%2Futility%2Foptional
Pagehttps://www.cppreference.com/cpp/utility/optional
Discussionhttps://www.cppreference.com/Talk:cpp/utility/optional
https://www.cppreference.com/cpp/utility/optional
Readhttps://www.cppreference.com/cpp/utility/optional
View sourcehttps://www.cppreference.com/index.php?title=cpp/utility/optional&action=edit
View historyhttps://www.cppreference.com/index.php?title=cpp/utility/optional&action=history
https://www.cppreference.com/cpp/utility/optional
cpphttps://www.cppreference.com/cpp
utilityhttps://www.cppreference.com/cpp/utility
C++https://www.cppreference.com/cpp
Compiler supporthttps://www.cppreference.com/cpp/compiler_support
Freestanding and hostedhttps://www.cppreference.com/cpp/freestanding
Languagehttps://www.cppreference.com/cpp/language
Standard libraryhttps://www.cppreference.com/cpp/standard_library
Standard library headershttps://www.cppreference.com/cpp/header
Named requirementshttps://www.cppreference.com/cpp/named_req
Feature test macroshttps://www.cppreference.com/cpp/feature_test
Language support libraryhttps://www.cppreference.com/cpp/utility#Language_support
Concepts libraryhttps://www.cppreference.com/cpp/concepts
Diagnostics libraryhttps://www.cppreference.com/cpp/error
Memory management libraryhttps://www.cppreference.com/cpp/memory
Metaprogramming libraryhttps://www.cppreference.com/cpp/meta
General utilities libraryhttps://www.cppreference.com/cpp/utility
Containers libraryhttps://www.cppreference.com/cpp/container
Iterators libraryhttps://www.cppreference.com/cpp/iterator
Ranges libraryhttps://www.cppreference.com/cpp/ranges
Algorithms libraryhttps://www.cppreference.com/cpp/algorithm
Strings libraryhttps://www.cppreference.com/cpp/string
Text processing libraryhttps://www.cppreference.com/cpp/text
Numerics libraryhttps://www.cppreference.com/cpp/numeric
Date and time libraryhttps://www.cppreference.com/cpp/chrono
Input/output libraryhttps://www.cppreference.com/cpp/io
Filesystem libraryhttps://www.cppreference.com/cpp/filesystem
Concurrency support libraryhttps://www.cppreference.com/cpp/thread
Execution control libraryhttps://www.cppreference.com/cpp/execution
Technical specificationshttps://www.cppreference.com/cpp/experimental
Symbols indexhttps://www.cppreference.com/cpp/symbol_index
External librarieshttps://www.cppreference.com/cpp/links/libs
[edit]https://cppreference.com/index.php?title=Template:cpp/navbar_content&action=edit
Utilities libraryhttps://www.cppreference.com/cpp/utility
Language supporthttps://www.cppreference.com/cpp/utility#Language_support
Type supporthttps://www.cppreference.com/cpp/types
Library feature-test macroshttps://www.cppreference.com/cpp/utility/feature_test
Program utilitieshttps://www.cppreference.com/cpp/utility/program
Variadic functionshttps://www.cppreference.com/cpp/utility/variadic
initializer_listhttps://www.cppreference.com/cpp/utility/initializer_list
is_constant_evaluatedhttps://www.cppreference.com/cpp/types/is_constant_evaluated
is_within_lifetimehttps://www.cppreference.com/cpp/types/is_within_lifetime
source_locationhttps://www.cppreference.com/cpp/utility/source_location
Coroutine supporthttps://www.cppreference.com/cpp/coroutine
Contract supporthttps://www.cppreference.com/cpp/contract
Three-way comparisonhttps://www.cppreference.com/cpp/utility#Three-way_comparison
three_way_comparablethree_way_comparable_withhttps://www.cppreference.com/cpp/utility/compare/three_way_comparable
strong_orderinghttps://www.cppreference.com/cpp/utility/compare/strong_ordering
weak_orderinghttps://www.cppreference.com/cpp/utility/compare/weak_ordering
partial_orderinghttps://www.cppreference.com/cpp/utility/compare/partial_ordering
common_comparison_categoryhttps://www.cppreference.com/cpp/utility/compare/common_comparison_category
compare_three_way_resulthttps://www.cppreference.com/cpp/utility/compare/compare_three_way_result
compare_three_wayhttps://www.cppreference.com/cpp/utility/compare/compare_three_way
strong_orderhttps://www.cppreference.com/cpp/utility/compare/strong_order
weak_orderhttps://www.cppreference.com/cpp/utility/compare/weak_order
partial_orderhttps://www.cppreference.com/cpp/utility/compare/partial_order
compare_strong_order_fallbackhttps://www.cppreference.com/cpp/utility/compare/compare_strong_order_fallback
compare_weak_order_fallbackhttps://www.cppreference.com/cpp/utility/compare/compare_weak_order_fallback
compare_partial_order_fallbackhttps://www.cppreference.com/cpp/utility/compare/compare_partial_order_fallback
type_orderhttps://www.cppreference.com/cpp/utility/compare/type_order
is_eqis_ltis_lteqhttps://www.cppreference.com/cpp/utility/compare/named_comparison_functions
is_neqis_gtis_gteqhttps://www.cppreference.com/cpp/utility/compare/named_comparison_functions
Function objectshttps://www.cppreference.com/cpp/utility/functional
Bit manipulationhttps://www.cppreference.com/cpp/utility/bit
bitsethttps://www.cppreference.com/cpp/utility/bitset
hashhttps://www.cppreference.com/cpp/utility/hash
Relational operatorshttps://www.cppreference.com/cpp/utility#Relational_operators
rel_ops::operator!=rel_ops::operator>https://www.cppreference.com/cpp/utility/rel_ops/operator_cmp
rel_ops::operator<=rel_ops::operator>=https://www.cppreference.com/cpp/utility/rel_ops/operator_cmp
Integer comparison functionshttps://www.cppreference.com/cpp/utility#Integer_comparison_functions
cmp_equalcmp_lesscmp_less_thanhttps://www.cppreference.com/cpp/utility/intcmp
cmp_not_equalcmp_greatercmp_greater_thanhttps://www.cppreference.com/cpp/utility/intcmp
in_rangehttps://www.cppreference.com/cpp/utility/in_range
Swaphttps://www.cppreference.com/cpp/utility#Swap
type operationshttps://www.cppreference.com/cpp/utility#Type_operations
swaphttps://www.cppreference.com/cpp/algorithm/swap
ranges::swaphttps://www.cppreference.com/cpp/utility/ranges/swap
exchangehttps://www.cppreference.com/cpp/utility/exchange
declvalhttps://www.cppreference.com/cpp/utility/declval
to_underlyinghttps://www.cppreference.com/cpp/utility/to_underlying
forwardhttps://www.cppreference.com/cpp/utility/forward
forward_likehttps://www.cppreference.com/cpp/utility/forward_like
movehttps://www.cppreference.com/cpp/utility/move
move_if_noexcepthttps://www.cppreference.com/cpp/utility/move_if_noexcept
as_consthttps://www.cppreference.com/cpp/utility/as_const
pairhttps://www.cppreference.com/cpp/utility/pair
tuplehttps://www.cppreference.com/cpp/utility/tuple
anyhttps://www.cppreference.com/cpp/utility/any
varianthttps://www.cppreference.com/cpp/utility/variant
tuple_sizehttps://www.cppreference.com/cpp/utility/tuple_size
tuple_elementhttps://www.cppreference.com/cpp/utility/tuple_element
applyhttps://www.cppreference.com/cpp/utility/apply
make_from_tuplehttps://www.cppreference.com/cpp/utility/make_from_tuple
expectedhttps://www.cppreference.com/cpp/utility/expected
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/navbar_content&action=edit
Member functionshttps://www.cppreference.com/cpp/utility/optional#Member_functions
optional::optionalhttps://www.cppreference.com/cpp/utility/optional/optional
optional::~optionalhttps://www.cppreference.com/cpp/utility/optional/~optional
optional::operator=https://www.cppreference.com/cpp/utility/optional/operator%3D
Observershttps://www.cppreference.com/cpp/utility/optional#Observers
optional::operator->optional::operator*https://www.cppreference.com/cpp/utility/optional/operator*
optional::operator booloptional::has_valuehttps://www.cppreference.com/cpp/utility/optional/operator_bool
optional::valuehttps://www.cppreference.com/cpp/utility/optional/value
optional::value_orhttps://www.cppreference.com/cpp/utility/optional/value_or
Iteratorshttps://www.cppreference.com/cpp/utility/optional#Iterators
optional::beginhttps://www.cppreference.com/cpp/utility/optional/begin
optional::endhttps://www.cppreference.com/cpp/utility/optional/end
Monadic operationshttps://www.cppreference.com/cpp/utility/optional#Monadic_operations
optional::and_thenhttps://www.cppreference.com/cpp/utility/optional/and_then
optional::transformhttps://www.cppreference.com/cpp/utility/optional/transform
optional::or_elsehttps://www.cppreference.com/cpp/utility/optional/or_else
Modifiershttps://www.cppreference.com/cpp/utility/optional#Modifiers
optional::emplacehttps://www.cppreference.com/cpp/utility/optional/emplace
optional::swaphttps://www.cppreference.com/cpp/utility/optional/swap
optional::resethttps://www.cppreference.com/cpp/utility/optional/reset
Non-member functionshttps://www.cppreference.com/cpp/utility/optional#Non-member_functions
operator==operator!=operatoroperator>=operator<=>https://www.cppreference.com/cpp/utility/optional/operator_cmp
make_optionalhttps://www.cppreference.com/cpp/utility/optional/make_optional
swap(std::optional)https://www.cppreference.com/cpp/utility/optional/swap2
Deduction guideshttps://www.cppreference.com/cpp/utility/optional/deduction_guides
Helper classeshttps://www.cppreference.com/cpp/utility/optional#Helper_classes
hashhttps://www.cppreference.com/cpp/utility/optional/hash
nullopt_thttps://www.cppreference.com/cpp/utility/optional/nullopt_t
in_place_thttps://www.cppreference.com/cpp/utility/in_place
bad_optional_accesshttps://www.cppreference.com/cpp/utility/optional/bad_optional_access
Helper objectshttps://www.cppreference.com/cpp/utility/optional#Helpers
nullopthttps://www.cppreference.com/cpp/utility/optional/nullopt
in_placehttps://www.cppreference.com/cpp/utility/in_place
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/navbar_content&action=edit
https://www.cppreference.com/cpp/header/optional
nested withinhttps://www.cppreference.com/cpp/language/object#Address
contextually converted to boolhttps://www.cppreference.com/cpp/language/implicit_conversion#Contextual_conversions
viewhttps://www.cppreference.com/cpp/ranges/view
1 Template parametershttps://www.cppreference.com/cpp/utility/optional#Template_parameters
2 Nested typeshttps://www.cppreference.com/cpp/utility/optional#Nested_types
3 Data membershttps://www.cppreference.com/cpp/utility/optional#Data_members
4 Member functionshttps://www.cppreference.com/cpp/utility/optional#Member_functions
4.1 Iteratorshttps://www.cppreference.com/cpp/utility/optional#Iterators
4.2 Observershttps://www.cppreference.com/cpp/utility/optional#Observers
4.3 Monadic operationshttps://www.cppreference.com/cpp/utility/optional#Monadic_operations
4.4 Modifiershttps://www.cppreference.com/cpp/utility/optional#Modifiers
5 Non-member functionshttps://www.cppreference.com/cpp/utility/optional#Non-member_functions
6 Helper classeshttps://www.cppreference.com/cpp/utility/optional#Helper_classes
7 Helpershttps://www.cppreference.com/cpp/utility/optional#Helpers
8 Helper specializationshttps://www.cppreference.com/cpp/utility/optional#Helper_specializations
9 Deduction guideshttps://www.cppreference.com/cpp/utility/optional#Deduction_guides
10 Noteshttps://www.cppreference.com/cpp/utility/optional#Notes
11 Examplehttps://www.cppreference.com/cpp/utility/optional#Example
12 Defect reportshttps://www.cppreference.com/cpp/utility/optional#Defect_reports
13 See alsohttps://www.cppreference.com/cpp/utility/optional#See_also
Destructiblehttps://www.cppreference.com/cpp/named_req/Destructible
LegacyRandomAccessIteratorhttps://www.cppreference.com/cpp/named_req/RandomAccessIterator
ConstexprIteratorhttps://www.cppreference.com/cpp/named_req/ConstexprIterator
contiguous_iteratorhttps://www.cppreference.com/cpp/iterator/contiguous_iterator
LegacyRandomAccessIteratorhttps://www.cppreference.com/cpp/named_req/RandomAccessIterator
ConstexprIteratorhttps://www.cppreference.com/cpp/named_req/ConstexprIterator
contiguous_iteratorhttps://www.cppreference.com/cpp/iterator/contiguous_iterator
Containerhttps://www.cppreference.com/cpp/named_req/Container
(constructor)https://www.cppreference.com/cpp/utility/optional/optional
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_constructor&action=edit
(destructor)https://www.cppreference.com/cpp/utility/optional/~optional
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_destructor&action=edit
operator=https://www.cppreference.com/cpp/utility/optional/operator%3D
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_operator%3D&action=edit
beginhttps://www.cppreference.com/cpp/utility/optional/begin
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_begin&action=edit
endhttps://www.cppreference.com/cpp/utility/optional/end
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_end&action=edit
operator->operator*https://www.cppreference.com/cpp/utility/optional/operator*
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_operator*&action=edit
operator boolhas_valuehttps://www.cppreference.com/cpp/utility/optional/operator_bool
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_operator_bool&action=edit
valuehttps://www.cppreference.com/cpp/utility/optional/value
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_value&action=edit
value_orhttps://www.cppreference.com/cpp/utility/optional/value_or
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_value_or&action=edit
and_thenhttps://www.cppreference.com/cpp/utility/optional/and_then
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_and_then&action=edit
transformhttps://www.cppreference.com/cpp/utility/optional/transform
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_transform&action=edit
or_elsehttps://www.cppreference.com/cpp/utility/optional/or_else
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_or_else&action=edit
swaphttps://www.cppreference.com/cpp/utility/optional/swap
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_swap&action=edit
resethttps://www.cppreference.com/cpp/utility/optional/reset
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_reset&action=edit
emplacehttps://www.cppreference.com/cpp/utility/optional/emplace
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_emplace&action=edit
operator==operator!=operatoroperator>=operator<=>https://www.cppreference.com/cpp/utility/optional/operator_cmp
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_operator_cmp&action=edit
make_optionalhttps://www.cppreference.com/cpp/utility/optional/make_optional
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_make_optional&action=edit
std::swap(std::optional)https://www.cppreference.com/cpp/utility/optional/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_swap2&action=edit
std::hashhttps://www.cppreference.com/cpp/utility/optional/hash
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_hash&action=edit
nullopt_thttps://www.cppreference.com/cpp/utility/optional/nullopt_t
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_nullopt_t&action=edit
bad_optional_accesshttps://www.cppreference.com/cpp/utility/optional/bad_optional_access
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_bad_optional_access&action=edit
nullopthttps://www.cppreference.com/cpp/utility/optional/nullopt
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_nullopt&action=edit
in_placein_place_typein_place_indexin_place_tin_place_type_tin_place_index_thttps://www.cppreference.com/cpp/utility/in_place
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_in_place&action=edit
viewhttps://www.cppreference.com/cpp/ranges/view
range formatting supporthttps://www.cppreference.com/cpp/utility/format/ranges_formatter
Deduction guideshttps://www.cppreference.com/cpp/utility/optional/deduction_guides
Feature-testhttps://www.cppreference.com/cpp/utility/feature_test
__cpp_lib_optionalhttps://www.cppreference.com/cpp/feature_test#cpp_lib_optional
201606Lhttps://www.cppreference.com/cpp/compiler_support/17#cpp_lib_optional_201606L
202106Lhttps://www.cppreference.com/cpp/compiler_support/23#cpp_lib_optional_202106L
202110Lhttps://www.cppreference.com/cpp/compiler_support/23#cpp_lib_optional_202110L
Monadic operationshttps://www.cppreference.com/cpp/utility/optional#Monadic_operations
__cpp_lib_optional_range_supporthttps://www.cppreference.com/cpp/feature_test#cpp_lib_optional_range_support
202406Lhttps://www.cppreference.com/cpp/compiler_support/26#cpp_lib_optional_range_support_202406L
LWG 4141https://cplusplus.github.io/LWG/issue4141
varianthttps://www.cppreference.com/cpp/utility/variant
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/dsc_variant&action=edit
anyhttps://www.cppreference.com/cpp/utility/any
CopyConstructiblehttps://www.cppreference.com/cpp/named_req/CopyConstructible
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/dsc_any&action=edit
expectedhttps://www.cppreference.com/cpp/utility/expected
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/dsc_expected&action=edit
ranges::single_viewviews::singlehttps://www.cppreference.com/cpp/ranges/single_view
viewhttps://www.cppreference.com/cpp/ranges/view
[edit]https://cppreference.com/index.php?title=Template:cpp/ranges/dsc_single_view&action=edit
ranges::empty_viewviews::emptyhttps://www.cppreference.com/cpp/ranges/empty_view
viewhttps://www.cppreference.com/cpp/ranges/view
[edit]https://cppreference.com/index.php?title=Template:cpp/ranges/dsc_empty_view&action=edit
Categorieshttps://www.cppreference.com/Special:Categories
Pages using deprecated source tagshttps://www.cppreference.com/index.php?title=Category:Pages_using_deprecated_source_tags&action=edit&redlink=1
Pages using deprecated enclose attributeshttps://www.cppreference.com/index.php?title=Category:Pages_using_deprecated_enclose_attributes&action=edit&redlink=1
Support ushttps://www.cppreference.com/support
Recent changeshttps://www.cppreference.com/Special:RecentChanges
FAQhttps://www.cppreference.com/Cppreference:FAQ
Offline versionhttps://www.cppreference.com/Cppreference:Archives
https://www.cppreference.com/cpp/utility/optional
What links herehttps://www.cppreference.com/Special:WhatLinksHere/cpp/utility/optional
Related changeshttps://www.cppreference.com/Special:RecentChangesLinked/cpp/utility/optional
Upload filehttp://upload.cppreference.com/w/Special:Upload
Special pageshttps://www.cppreference.com/Special:SpecialPages
Printable versionjavascript:print();
Permanent linkhttps://www.cppreference.com/index.php?title=cpp/utility/optional&oldid=180937
Page informationhttps://www.cppreference.com/index.php?title=cpp/utility/optional&action=info
Españolhttp://es.cppreference.com/cpp/utility/optional
日本語http://ja.cppreference.com/cpp/utility/optional
Русскийhttp://ru.cppreference.com/cpp/utility/optional
中文http://zh.cppreference.com/cpp/utility/optional

Viewport: width=1120

Robots: max-image-preview:standard


URLs of crawlers that visited me.