Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in stdoptional

Use std::optional as a regular pointer vs use has_value() and value

c++ c++17 stdoptional

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

In C++17 can an if statement with an initializer be used to unpack an optional?

c++ c++17 stdoptional

Why does the const rvalue qualified std::optional::value() return a const rvalue reference?

How to in-place-construct an optional aggregate?

Does anything prevent std::optional::value_or() from being conditionally noexcept?

What's the advantage of `std::optional` over `std::shared_ptr` and `std::unique_ptr`?

c++ optional c++17 stdoptional

Overhead of std::optional<T>?

constexpr std::optional reset

Is there any advantage in using std::optional to avoid default arguments in a function?

c++ c++11 c++17 stdoptional

What is the point of `std::make_optional`

std::optional implemented as union vs char[]/aligned_storage

std optional: No such file or directory

c++ c++11 std stdoptional

How is std::optional never "valueless by exception"?

std::optional::value_or() - lazy argument evaluation

c++ stl c++17 stdoptional

clang 5: std::optional instantiation screws std::is_constructible trait of the parameter type

Why do std::optional constructors use std::in_place?

c++ c++17 stdoptional

How do I use std::optional in C++?

c++ c++17 stdoptional

How to flatten the nested std::optional?

c++ c++20 stdoptional

Is it possible to set an object to null?