https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
Jonathan Wakely changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
--- Comment #11 from Jonathan Wakely ---
Author: redi
Date: Thu Jan 12 17:28:36 2017
New Revision: 244374
URL: https://gcc.gnu.org/viewcvs?rev=244374=gcc=rev
Log:
PR77528 partially revert r244278 and define default constructors
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
--- Comment #10 from TC ---
C'ing the relevant parts of my email to the lists here for the record:
The new default member initializers use {}, and it's not too hard to find test
cases where {} and value-initialization do different things,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
Jonathan Wakely changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
--- Comment #8 from jerryct ---
(In reply to Jonathan Wakely from comment #5)
> That introduces a different problem though. This won't compile with libc++:
>
> #include
> struct D : std::deque { D(int) { } };
> template class std::stack
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
--- Comment #6 from Jonathan Wakely ---
Author: redi
Date: Tue Jan 10 17:30:20 2017
New Revision: 244278
URL: https://gcc.gnu.org/viewcvs?rev=244278=gcc=rev
Log:
PR77528 add default constructors for container adaptors
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
--- Comment #5 from Jonathan Wakely ---
(In reply to jerryct from comment #4)
> Thus a constructor like libcxx has:
> _LIBCPP_INLINE_VISIBILITY
> stack()
> _NOEXCEPT_(is_nothrow_default_constructible::value)
> : c() {}
>
> would solve
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
jerryct changed:
What|Removed |Added
CC||jerry.c.t at web dot de
--- Comment #4 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
--- Comment #3 from Jonathan Wakely ---
(In reply to TC from comment #2)
> This makes the default constructor implicit,
Yes, that was intentional :-)
> though that's probably how it
> should be anyway.
Yes, we missed the container adaptors
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
TC changed:
What|Removed |Added
CC||rs2740 at gmail dot com
--- Comment #2 from TC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
12 matches
Mail list logo