Search code examples
Does std::optional<>::emplace() invalidate references to the inner value?...

c++option-typelifetimestdoptional

Read More
Should I move the value out of an optional or move the whole optional?...

c++c++17movestdoptional

Read More
Take value out of std::optional...

c++c++17option-typestdoptional

Read More
Can I create a reference to the value of an empty optional?...

c++language-lawyerstdoptional

Read More
How to sort container with std::optional type?...

sortingcontainersoption-typestdoptional

Read More
std::optional default constructor not being constexpr in gcc?...

c++gccinitializationconstexprstdoptional

Read More
Assigning values to std::array of std::optional objects...

c++c++17stdarraystdoptional

Read More
How best to test and unwrap std::optional in an if statement...

c++c++17stdoptional

Read More
How to set a string to an optional string value?...

c++stringstdoptional

Read More
How to construct a std::optional of a struct with std::shared_ptr...

c++c++17stdoptional

Read More
Is '_HAS_CXX17' macro usable in custom project headers to enable C++17 language set features...

c++visual-studio-2017boost-optionalstdoptional

Read More
hold reference object inside std::optional...

c++stdoptional

Read More
Using std::optional in a C++11 context...

c++c++11c++17nullptrstdoptional

Read More
Why does std::optional have a special equality operator for operand of the type std::nullopt...

c++c++20stdoptionalequality-operator

Read More
Combining auto template parameters with std::optional, possible?...

c++templatesc++17stdoptional

Read More
What object is produced by ternary operator in C++?...

c++conditional-operatorstdoptional

Read More
Why is std::optional's assignment operator not usable in compile-time context in this simple exa...

c++templatesc++20constexprstdoptional

Read More
How to use second overload of std::optional<T>::emplace...

c++stdoptional

Read More
Why do std::optional constructors use std::in_place?...

c++c++17stdoptional

Read More
Why is `std::optional<T>::operator=` deleted when T contains a `const` data member?...

c++c++17assignment-operatorstdoptional

Read More
How to in-place-construct an optional aggregate?...

c++c++17aggregate-initializationconstructionstdoptional

Read More
Math on std::optionals?...

c++haskellfunctional-programmingc++17stdoptional

Read More
How to flatten the nested std::optional?...

c++c++20stdoptional

Read More
How to move a value out of a std:optional without calling the destructor?...

c++c++17destructormove-semanticsstdoptional

Read More
How does std::optional delay initialization? / How is std::optional implemented?...

c++constructorinitializationoption-typestdoptional

Read More
C++ ranges find and return std::optional like Java stream...

c++c++20stdoptional

Read More
What is the point of `std::make_optional`...

c++c++17stdoptionalctaddeduction-guide

Read More
How to use std::optional for error handling when creating objects without instantly destructing them...

c++error-handlingconstructorc++17stdoptional

Read More
Is there a less verbose idiom for unpacking an optional in C++?...

c++c++17stdoptional

Read More
Converting one std::optional to another std::optional...

c++stdoptional

Read More
BackNext