3
AlgoRythm
314d

c++ tip: modern cpp standard libraries have std::optional, which allows you to declare a variable that may or may not have a defined value:

std::optional<std::string> optional_string;

(I've started a journal of interesting c++ things I have learned: https://github.com/AlgoRythm-Dylan/... )

Comments
Add Comment