C++ Are std::any and std::optional , “driving you up the wall” ?
Well, they were, but not any more. Here is what I have realized since.std::optionalIs much more "normal" and usable of the two. It is actually very nice and useful single instance standard & compliant kind-of-a container. And most importantlyYou do not need to keep the type of T
Post to Tumblr