Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TartanLlama/optional
/ functions
Functions
90 in github.com/TartanLlama/optional
⨍
Functions
90
◇
Types & classes
78
↓ 82 callers
Function
has_value
Returns whether or not the optional has a value
include/tl/optional.hpp:1282
↓ 59 callers
Method
has_value
include/tl/optional.hpp:2005
↓ 42 callers
Function
invoke
include/tl/optional.hpp:178
↓ 40 callers
Function
optional_map_impl
include/tl/optional.hpp:1512
↓ 31 callers
Method
map
include/tl/optional.hpp:784
↓ 28 callers
Method
transform
include/tl/optional.hpp:835
↓ 21 callers
Method
and_then
include/tl/optional.hpp:699
↓ 12 callers
Function
make_optional
include/tl/optional.hpp:1487
↓ 11 callers
Method
construct
include/tl/optional.hpp:412
↓ 8 callers
Method
swap
include/tl/optional.hpp:1993
↓ 6 callers
Method
disjunction
Returns `rhs` if `*this` is empty, otherwise the current value.
include/tl/optional.hpp:1001
↓ 5 callers
Function
swap
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 callers
Method
~T
tests/bases.cpp:22
↓ 4 callers
Method
conjunction
include/tl/optional.hpp:995
↓ 2 callers
Method
assign
include/tl/optional.hpp:417
↓ 2 callers
Method
hard_reset
include/tl/optional.hpp:407
↓ 2 callers
Method
map_or
include/tl/optional.hpp:943
↓ 2 callers
Method
map_or_else
include/tl/optional.hpp:968
↓ 2 callers
Method
or_else
include/tl/optional.hpp:899
↓ 2 callers
Function
reset
Destroys the stored value if one exists, making the optional empty
include/tl/optional.hpp:1329
↓ 2 callers
Method
take
Takes the value out of the optional, leaving it empty
include/tl/optional.hpp:1038
↓ 1 callers
Method
has_value
include/tl/optional.hpp:432
↓ 1 callers
Method
non_const
tests/extensions.cpp:464
↓ 1 callers
Function
optional
include/tl/optional.hpp:1090
↓ 1 callers
Method
reset
Destroys the stored value if one exists, making the optional empty
include/tl/optional.hpp:2040
↓ 1 callers
Method
value_or
include/tl/optional.hpp:2024
Method
A
tests/emplace.cpp:16
Method
T
tests/bases.cpp:18
Method
TL_OPTIONAL_11_CONSTEXPR or_else
include/tl/optional.hpp:885
Method
TL_OPTIONAL_11_CONSTEXPR or_else
include/tl/optional.hpp:1760
Method
and_then
include/tl/optional.hpp:1571
Method
bad_optional_access
include/tl/optional.hpp:669
Method
conjunction
include/tl/optional.hpp:1870
Method
disjunction
Returns `rhs` if `*this` is empty, otherwise the current value.
include/tl/optional.hpp:1876
Function
emplace
include/tl/optional.hpp:1226
Method
fail_on_copy_self
tests/issues.cpp:23
Method
foo
tests/constructors.cpp:6
Function
get_int
tests/extensions.cpp:5
Method
in_place_t
include/tl/optional.hpp:114
Method
invoke_result_t<F, T &&> and_then
include/tl/optional.hpp:749
Method
invoke_result_t<F, T &> and_then
include/tl/optional.hpp:740
Method
invoke_result_t<F, T &> and_then
include/tl/optional.hpp:1612
Method
map
include/tl/optional.hpp:1657
Method
map_or
include/tl/optional.hpp:1818
Method
map_or_else
include/tl/optional.hpp:1843
Method
move_detector
tests/observers.cpp:5
Method
nothrow_move
tests/noexcept.cpp:56
Method
nothrow_move_assign
tests/noexcept.cpp:75
Method
nullopt_t
include/tl/optional.hpp:661
Function
operator!=
include/tl/optional.hpp:1345
Method
operator()
tests/extensions.cpp:23
Method
operator()
tests/extensions.cpp:162
Method
operator()
tests/extensions.cpp:315
Method
operator()
tests/extensions.cpp:477
Method
operator()
include/tl/optional.hpp:2053
Function
operator->
Returns a pointer to the stored value
include/tl/optional.hpp:1260
Method
operator->
Returns a pointer to the stored value
include/tl/optional.hpp:1996
Function
operator<
include/tl/optional.hpp:1351
Function
operator<=
include/tl/optional.hpp:1361
Function
operator==
include/tl/optional.hpp:1339
Function
operator>
include/tl/optional.hpp:1356
Function
operator>=
include/tl/optional.hpp:1366
Method
optional
Constructs an optional that does not contain a value.
include/tl/optional.hpp:1047
Method
optional
Constructs an optional that does not contain a value.
include/tl/optional.hpp:1922
Method
optional<int> get_opt_int
tests/extensions.cpp:6
Method
optional_copy_assign_base
include/tl/optional.hpp:512
Method
optional_copy_base
include/tl/optional.hpp:454
Method
optional_delete_assign_base
include/tl/optional.hpp:613
Method
optional_delete_assign_base
include/tl/optional.hpp:624
Method
optional_delete_assign_base
include/tl/optional.hpp:635
Method
optional_delete_assign_base
include/tl/optional.hpp:646
Method
optional_delete_ctor_base
include/tl/optional.hpp:566
Method
optional_delete_ctor_base
include/tl/optional.hpp:576
Method
optional_delete_ctor_base
include/tl/optional.hpp:586
Method
optional_delete_ctor_base
include/tl/optional.hpp:596
Method
optional_move_assign_base
include/tl/optional.hpp:544
Method
optional_move_base
include/tl/optional.hpp:485
Method
or_else
include/tl/optional.hpp:1774
Method
take
Takes the value out of the optional, leaving it empty
include/tl/optional.hpp:1913
Method
takes_init_and_variadic
tests/make_optional.cpp:11
Method
takes_init_and_variadic
tests/in_place.cpp:11
Method
throw_move
tests/noexcept.cpp:60
Method
throw_move_assign
tests/noexcept.cpp:81
Method
throw_swappable
tests/noexcept.cpp:35
Method
transform
include/tl/optional.hpp:1708
Function
value_or
include/tl/optional.hpp:1314
Method
what
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