how often have you really encountered big syntactic headaches because of not having something like this available?
I do somewhat regularly. The if(auto x = y()) { use x } is pretty convenient but being limited only to the bool check is kinda weak.
how often have you really encountered big syntactic headaches because of not having something like this available?
I do somewhat regularly. The if(auto x = y()) { use x } is pretty convenient but being limited only to the bool check is kinda weak.