MCPcopy Create free account

hub / github.com/TartanLlama/optional / functions

Functions90 in github.com/TartanLlama/optional

↓ 82 callersFunctionhas_value
Returns whether or not the optional has a value
include/tl/optional.hpp:1282
↓ 59 callersMethodhas_value
include/tl/optional.hpp:2005
↓ 42 callersFunctioninvoke
include/tl/optional.hpp:178
↓ 40 callersFunctionoptional_map_impl
include/tl/optional.hpp:1512
↓ 31 callersMethodmap
include/tl/optional.hpp:784
↓ 28 callersMethodtransform
include/tl/optional.hpp:835
↓ 21 callersMethodand_then
include/tl/optional.hpp:699
↓ 12 callersFunctionmake_optional
include/tl/optional.hpp:1487
↓ 11 callersMethodconstruct
include/tl/optional.hpp:412
↓ 8 callersMethodswap
include/tl/optional.hpp:1993
↓ 6 callersMethoddisjunction
Returns `rhs` if `*this` is empty, otherwise the current value.
include/tl/optional.hpp:1001
↓ 5 callersFunctionswap
Swaps this optional with the other. If neither optionals have a value, nothing happens. If both have a value, the values are swapped. If one has a va
include/tl/optional.hpp:1241
↓ 5 callersMethod~T
tests/bases.cpp:22
↓ 4 callersMethodconjunction
include/tl/optional.hpp:995
↓ 2 callersMethodassign
include/tl/optional.hpp:417
↓ 2 callersMethodhard_reset
include/tl/optional.hpp:407
↓ 2 callersMethodmap_or
include/tl/optional.hpp:943
↓ 2 callersMethodmap_or_else
include/tl/optional.hpp:968
↓ 2 callersMethodor_else
include/tl/optional.hpp:899
↓ 2 callersFunctionreset
Destroys the stored value if one exists, making the optional empty
include/tl/optional.hpp:1329
↓ 2 callersMethodtake
Takes the value out of the optional, leaving it empty
include/tl/optional.hpp:1038
↓ 1 callersMethodhas_value
include/tl/optional.hpp:432
↓ 1 callersMethodnon_const
tests/extensions.cpp:464
↓ 1 callersFunctionoptional
include/tl/optional.hpp:1090
↓ 1 callersMethodreset
Destroys the stored value if one exists, making the optional empty
include/tl/optional.hpp:2040
↓ 1 callersMethodvalue_or
include/tl/optional.hpp:2024
MethodA
tests/emplace.cpp:16
MethodT
tests/bases.cpp:18
MethodTL_OPTIONAL_11_CONSTEXPR or_else
include/tl/optional.hpp:885
MethodTL_OPTIONAL_11_CONSTEXPR or_else
include/tl/optional.hpp:1760
Methodand_then
include/tl/optional.hpp:1571
Methodbad_optional_access
include/tl/optional.hpp:669
Methodconjunction
include/tl/optional.hpp:1870
Methoddisjunction
Returns `rhs` if `*this` is empty, otherwise the current value.
include/tl/optional.hpp:1876
Functionemplace
include/tl/optional.hpp:1226
Methodfail_on_copy_self
tests/issues.cpp:23
Methodfoo
tests/constructors.cpp:6
Functionget_int
tests/extensions.cpp:5
Methodin_place_t
include/tl/optional.hpp:114
Methodinvoke_result_t<F, T &&> and_then
include/tl/optional.hpp:749
Methodinvoke_result_t<F, T &> and_then
include/tl/optional.hpp:740
Methodinvoke_result_t<F, T &> and_then
include/tl/optional.hpp:1612
Methodmap
include/tl/optional.hpp:1657
Methodmap_or
include/tl/optional.hpp:1818
Methodmap_or_else
include/tl/optional.hpp:1843
Methodmove_detector
tests/observers.cpp:5
Methodnothrow_move
tests/noexcept.cpp:56
Methodnothrow_move_assign
tests/noexcept.cpp:75
Methodnullopt_t
include/tl/optional.hpp:661
Functionoperator!=
include/tl/optional.hpp:1345
Methodoperator()
tests/extensions.cpp:23
Methodoperator()
tests/extensions.cpp:162
Methodoperator()
tests/extensions.cpp:315
Methodoperator()
tests/extensions.cpp:477
Methodoperator()
include/tl/optional.hpp:2053
Functionoperator->
Returns a pointer to the stored value
include/tl/optional.hpp:1260
Methodoperator->
Returns a pointer to the stored value
include/tl/optional.hpp:1996
Functionoperator<
include/tl/optional.hpp:1351
Functionoperator<=
include/tl/optional.hpp:1361
Functionoperator==
include/tl/optional.hpp:1339
Functionoperator>
include/tl/optional.hpp:1356
Functionoperator>=
include/tl/optional.hpp:1366
Methodoptional
Constructs an optional that does not contain a value.
include/tl/optional.hpp:1047
Methodoptional
Constructs an optional that does not contain a value.
include/tl/optional.hpp:1922
Methodoptional<int> get_opt_int
tests/extensions.cpp:6
Methodoptional_copy_assign_base
include/tl/optional.hpp:512
Methodoptional_copy_base
include/tl/optional.hpp:454
Methodoptional_delete_assign_base
include/tl/optional.hpp:613
Methodoptional_delete_assign_base
include/tl/optional.hpp:624
Methodoptional_delete_assign_base
include/tl/optional.hpp:635
Methodoptional_delete_assign_base
include/tl/optional.hpp:646
Methodoptional_delete_ctor_base
include/tl/optional.hpp:566
Methodoptional_delete_ctor_base
include/tl/optional.hpp:576
Methodoptional_delete_ctor_base
include/tl/optional.hpp:586
Methodoptional_delete_ctor_base
include/tl/optional.hpp:596
Methodoptional_move_assign_base
include/tl/optional.hpp:544
Methodoptional_move_base
include/tl/optional.hpp:485
Methodor_else
include/tl/optional.hpp:1774
Methodtake
Takes the value out of the optional, leaving it empty
include/tl/optional.hpp:1913
Methodtakes_init_and_variadic
tests/make_optional.cpp:11
Methodtakes_init_and_variadic
tests/in_place.cpp:11
Methodthrow_move
tests/noexcept.cpp:60
Methodthrow_move_assign
tests/noexcept.cpp:81
Methodthrow_swappable
tests/noexcept.cpp:35
Methodtransform
include/tl/optional.hpp:1708
Functionvalue_or
include/tl/optional.hpp:1314
Methodwhat
include/tl/optional.hpp:670
Function~optional
Destroys the stored value if there is one.
include/tl/optional.hpp:1131
Method~optional
No-op
include/tl/optional.hpp:1950
Method~optional_storage_base
include/tl/optional.hpp:363