List Question
20 TechQA 2024-03-13T23:04:52.560000Unexpected behavior of std::is_copy_assignable and boost::optional
71 views
Asked by joergbrech
error: cannot convert 'std::optional<int>' to 'const int' in initialization
89 views
Asked by Ludovic Aubert
Writing functions which handle invalid inputs in C++
66 views
Asked by Vedant Yadav
Pass-through constructor for std::optional arguments
143 views
Asked by kc9jud
Pass-through constructor for std::optional argument
145 views
Asked by kc9jud
Stream insertion operator >> for std::optional
141 views
Asked by kc9jud
Is it possible to convert an object to std::optional without move or copy constructor?
108 views
Asked by Jo3kerR
Is there another way to achieve the functionality of std::optional without another object being created?
123 views
Asked by Jo3kerR
How std::optional library handles emplace operation?
224 views
Asked by green blanket
Getting an optional of a class derived from abstract class, from a class derived from abstract class
158 views
Asked by bmetz
Why does std::optional not use a sentinel value to represent an empty optional?
298 views
Asked by NoSenseEtAl
Value corrruption with a view pointing to a value within an std::optional
56 views
Asked by jerin
Copy constructor of optional using term "direct-non-list-initializes" instead of "copy constructs"
58 views
Asked by cbhattac
std::optional<T> assignment operators
61 views
Asked by Vinod
std::optional::transform with std::addressof
148 views
Asked by R K
Pass `std::optional::value` to `std::views::transform`
165 views
Asked by Antonio
Interaction between std::optional<std::any> and has_value()
200 views
Asked by Daniel Tyebkhan
What's the point of ref-qualified member functions in `std::optional::value`
89 views
Asked by BIuesky
How would a std::optional<std::nullopt_t> operate?
120 views
Asked by Joshua Green
Forward declaration of class inside unique_ptr inside optional with default argument fails
333 views
Asked by Michael