3 ms·
std::string always is a value, boost::optional<std::string> isn't (similar to std::string, just a lot safer). The problem is that Java only has boost::optional<
by gurkendoktor 11y ago
std::string always is a value, boost::optional<std::string> isn't (similar to std::string, just a lot safer).
The problem is that Java only has boost::optional<std::string>, which can be null, empty or a value.
- gurkendoktor 11y ago(Hacker News obviously wasn't made for writing about C pointers—the places where the text turns into italics and back where supposed to be asterisks.)