Top "Stdoptional" questions

In C++ the std::optional class template represents an optional value, i.e. one that may or may not be present.

Is it possible to set an object to null?

Further in my code, I check to see check if an object is null/empty. Is there a way to …

c++ object null is-empty stdoptional