C++ Logo

std-proposals

Advanced search

Re: [std-proposals] if !(condition)

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Sat, 20 Apr 2024 19:18:25 +0200
I would expect a comment about "while" and "do while" (and possibly "for"). Would you propose adding ! there, too, oppose it, leave it neutrally open, invite anybody to write a paper or want to see, how if !() works out? Or is it not possible there? -----Ursprüngliche Nachricht----- Von:Yexuan Xiao via Std-Proposals <std-proposals_at_[hidden]> Gesendet:Sa 20.04.2024 18:09 Betreff:[std-proposals] if !(condition) An:std-proposals_at_[hidden] <Std-Proposals_at_[hidden]>; CC:Yexuan Xiao <bizwen_at_[hidden]>; I've wrote a proposal that suggests allowing the omission of the outermost parentheses to simplify the conditions in if statements: https://storage.nykz.org/proposals/if-not/ Please share your comments. -- Std-Proposals mailing list Std-Proposals_at_[hidden] https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2024-04-20 17:18:27