C++ Logo

std-proposals

Advanced search

Re: Optional braces for function definitions in some contexts

From: Bjorn Reese <breese_at_[hidden]>
Date: Fri, 28 Jun 2019 12:13:34 +0200
On 6/27/19 9:11 PM, Tom Honermann via Std-Proposals wrote:
> void f1() // Oops, forgot ;
> void f2(); // Now a local declaration in the definition of f1().

Furthermore, does

   void f3();

refer to a declaration or a definition with an empty body (e.g.
"void f3() {}")

Received on 2019-06-28 05:15:28