C++ Logo

std-proposals

Advanced search

Re: Optional braces for function definitions in some contexts

From: Tae Lim Kook <uruwi_at_[hidden]>
Date: Thu, 27 Jun 2019 17:08:56 +0000
[proposal for optional braces in function definitions in some contexts]

> Does this idea seem worth fleshing out? How difficult would it be for implementations to provide, if it was worthwhile?

I personally don't see the point. The proposal could also cause problems when you inadvertently leave out the semicolon in a function declaration or have it in that place when you meant to define a function instead.

– t

Received on 2019-06-27 12:10:52