3 ms·
Leading with "Specifying a reason for deleting a function" then following up with "Placeholder variables with no name" did make me check the date of the article
by roenxi 2y ago
Leading with "Specifying a reason for deleting a function" then following up with "Placeholder variables with no name" did make me check the date of the article. It wasn't April 1.
The standards committee are thorough in their mission to including everything and the kitchen sink in C++.
- omnicognate 2y agoC++ has certainly had a lot added, but I don't get your point regarding these particular two features. They seem quite minor, useful, easily implemented and unlikely to interact problematically with other things.
- einpoklum 2y ago"Placeholder variable with no name" is the super-common feature from other language where you write, for example (not exact real syntax): (foo, _, bar) = function_returning_a_triplet(); since you only want the first and third items; the underscore is the placeholder. Useful feature, convenient feature, doesn't complicate your life as a programmer, no need to even remember it, it'll just come to you. Good thing to have in the language IMNSHO.