public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53965] Member class initialization doesn't work with unordered_set
       [not found] <bug-53965-4@http.gcc.gnu.org/bugzilla/>
@ 2012-07-14 19:57 ` gollumdelperdiguero at gmail dot com
  2012-07-15  0:29 ` redi at gcc dot gnu.org
  2012-07-15 10:00 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 3+ messages in thread
From: gollumdelperdiguero at gmail dot com @ 2012-07-14 19:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53965

--- Comment #1 from gollumdelperdiguero at gmail dot com 2012-07-14 19:56:58 UTC ---
Created attachment 27790
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27790
Preprocessed file

Preprocessed file generated by g++


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/53965] Member class initialization doesn't work with unordered_set
       [not found] <bug-53965-4@http.gcc.gnu.org/bugzilla/>
  2012-07-14 19:57 ` [Bug c++/53965] Member class initialization doesn't work with unordered_set gollumdelperdiguero at gmail dot com
@ 2012-07-15  0:29 ` redi at gcc dot gnu.org
  2012-07-15 10:00 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2012-07-15  0:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53965

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-15 00:29:38 UTC ---
The code is not valid, in-class initializers must use a
"brace-or-equals-initializer" meaning:

  A a{ init };

or:

  A a = init;

not:

  A a( init );


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/53965] Member class initialization doesn't work with unordered_set
       [not found] <bug-53965-4@http.gcc.gnu.org/bugzilla/>
  2012-07-14 19:57 ` [Bug c++/53965] Member class initialization doesn't work with unordered_set gollumdelperdiguero at gmail dot com
  2012-07-15  0:29 ` redi at gcc dot gnu.org
@ 2012-07-15 10:00 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-07-15 10:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53965

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-07-15 09:59:50 UTC ---
Closing.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-15 10:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-53965-4@http.gcc.gnu.org/bugzilla/>
2012-07-14 19:57 ` [Bug c++/53965] Member class initialization doesn't work with unordered_set gollumdelperdiguero at gmail dot com
2012-07-15  0:29 ` redi at gcc dot gnu.org
2012-07-15 10:00 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).