C++ Logo

std-discussion

Advanced search

Optional Semicolons

From: William Linkmeyer <wlink10_at_[hidden]>
Date: Thu, 28 Apr 2022 13:11:36 -0400
Hello,

I’ve been considering writing a paper which allows the programmer to elide semicolons when the statement is otherwise followed by any number of whitespace and a newline.

This would *only* apply to statements — function and class declarations and prototypes would be left untouched.

I am wondering if this has come up before, and, if so, what the reception was like. If there is no interest for this, I’d rather not write the paper or mess with libclang to see if a quick implementation is possible.

Happily,
Will Linkmeyer

Received on 2022-04-28 17:11:39