This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36696] Default constructor instance definition with empty argument list quietly ignored
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2008 21:16:03 -0000
- Subject: [Bug c++/36696] Default constructor instance definition with empty argument list quietly ignored
- References: <bug-36696-16406@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-02 21:16 -------
This is an ambiguous in the C++ standard that is resolved via making it a
function declaration.
That is:
Raii raii ();
Is declaring a function, raii, that returns a Raii type.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36696