What's the point of ref-qualified member functions in `std::optional::value`...
Read MoreHow would a std::optional<std::nullopt_t> operate?...
Read MoreForward declaration of class inside unique_ptr inside optional with default argument fails...
Read MoreWhy doesn't iterate over a container accessed directly through std::optional<T>::value() w...
Read Moreoptional refence to an object: best way?...
Read Morestd::minmax_element comparer for a vector with std::optional is incorrect...
Read MoreCan I make std::optional<std::exception>::value() return the (polymorphic) inherited exception...
Read MoreBind reference to T& in both cases, std::optional<T> and T, at compile time...
Read Moreranges::views::filter no longer compatible with std::optional, msvc v19.36...
Read MoreUsing std::optional to invalidate my RAII object in move constructor/asignment...
Read MoreHow can I get clang-tidy to not complain about passing kind-of-lightweight types by value?...
Read MoreWhat is the use case for not having lazy evaluation of value_or()?...
Read MoreWhat are monadic bind and monadic return for C++23 optional?...
Read MoreIs there a macro to make std::optional::operator* throw on bad access?...
Read MoreCopy/move elision vs emplace with std::optional...
Read Morestd::optional<T> appears to destroy T twice when leaving its scope. Why?...
Read MoreUsing boost::program_options with std::optional...
Read MoreC++ compiler says "inconsistent deduction for auto return type"...
Read MoreHow to efficiently return an std::optional...
Read Morecreating std::functional object to wrap a lambda with a call to static member function...
Read MoreCan I copy-elide an immovable & uncopyable function result into an optional?...
Read Moreprevent initializing std::optional<std::reference_wrapper<const T>> with rvalue std::opt...
Read MoreWhy do the C++ Core Guidelines not recommend to use std::optional over pointers when approriate?...
Read MoreWhat are the advantages/disadvantages of std::optional over nullptr?...
Read MoreDoes std::optional contain a value during construction?...
Read MoreWhen would you use optional<not_null<T*>>...
Read MoreWhy is there no built-in way to get a pointer from an std::optional?...
Read MoreDoes std::make_tuple() not work with objects of type std::optional?...
Read MoreHow to pass std::optional struct that contains std::unique_ptr to a function?...
Read Moreuse of std::experimental::optional with g++ v8.2.0...
Read More