Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-03-10 11:05:54


On Sun, 09 Mar 2003 20:23:39 -0500, David Abrahams
<dave_at_[hidden]> wrote:

>Comeau says [...]

> In C++: A function definition ... does not end with a semicolon

<nitpick>

A function definition appearing within a class definition may end with
a semicolon though:

 class X {
  void foo() {}; // see grammar in 9.2
 };

</nitpick>

Genny.


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