Topic: Editorial issue: Illegal function declaration in [except.handle]


Author: pete@versatilecoding.com (Pete Becker)
Date: Tue, 20 Mar 2007 15:45:52 GMT
Raw View
Daniel Kr=FCgler wrote:
> Both in the current standard 14882-2003 and the most recent
> draft N2134 we have the following illegal function declaration in
> the example of [except.handle]-15.3/4 (para 3 in N2134) due to
> a missing return type:
>=20
> class Matherr { /* ... */ virtual vf(); };
>=20
> Proposed resolution:
>=20
> Replace the above mentioned line by
>=20
> class Matherr { /* ... */ virtual void vf(); };
>=20

Editorial.

--=20

 -- Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com)
Author of "The Standard C++ Library Extensions: a Tutorial and=20
Reference." (www.petebecker.com/tr1book)

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: "=?iso-8859-1?q?Daniel_Kr=FCgler?=" <daniel.kruegler@googlemail.com>
Date: Sat, 17 Mar 2007 12:42:33 CST
Raw View
Both in the current standard 14882-2003 and the most recent
draft N2134 we have the following illegal function declaration in
the example of [except.handle]-15.3/4 (para 3 in N2134) due to
a missing return type:

class Matherr { /* ... */ virtual vf(); };

Proposed resolution:

Replace the above mentioned line by

class Matherr { /* ... */ virtual void vf(); };

Greetings from Bremen,

Daniel Kr   gler


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]