This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60258] Member initialization for atomic fail.
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Feb 2014 09:04:08 +0000
- Subject: [Bug c++/60258] Member initialization for atomic fail.
- Auto-submitted: auto-generated
- References: <bug-60258-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60258
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why the
auto my_func() -> void
rather than
void my_func()
? The fact that C++11 allows the former form doesn't mean the latter form is
deprecated, and in the case when the return type doesn't depend on argument
types it doesn't make any sense to use that form.