Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2005-07-14 13:12:09


On Thu, 14 Jul 2005 13:15:50 -0400
David Abrahams <dave_at_[hidden]> wrote:

> IMO there's no chance of confusing it with a function call, since a
> function call would be illegal in the context in which it's used, and
> people are naturally more likely to add a semicolon without thinking
> about it, and if I design the macro so that a semicolon is required it
> will interact more smoothly with editors and pretty-printers. So I
> can't see any good reason not to require the semicolon. Arguments?

I prefer requiring the semicolon, mainly for nice operation within
syntax-aware editors. Also, anytime I see something without a
semicolon, my first instinct is to start hunting for the reason...


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk