public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator
@ 2012-05-03 20:13 daniel.kruegler at googlemail dot com
2012-05-03 20:42 ` [Bug libstdc++/53221] " redi at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: daniel.kruegler at googlemail dot com @ 2012-05-03 20:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Bug #: 53221
Summary: [C++11] basic_string lacks "copy/move constructors"
with allocator
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: daniel.kruegler@googlemail.com
The library implementation of gcc 4.8.0 20120429 (experimental) misses the
following "copy/move constructors" with allocators:
basic_string(const basic_string&, const Allocator&);
basic_string(basic_string&&, const Allocator&);
These were added to the working draft with acceptance of the allocator proposal
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2554.pdf
The following test case fails:
//---
#include <string>
#include <memory>
int main()
{
std::string s1;
std::string s2(s1, std::allocator<char>());
std::string s3(static_cast<std::string&&>(s1), std::allocator<char>());
}
//---
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/53221] [C++11] basic_string lacks "copy/move constructors" with allocator
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
@ 2012-05-03 20:42 ` redi at gcc dot gnu.org
2012-11-06 11:36 ` redi at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2012-05-03 20:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-05-03
Ever Confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-03 20:41:48 UTC ---
Yep, known issue - only vector has been updated to the C++11 allocator changes.
I've started doing it for vstring first, std::string will get done at some
point too.
I thought the C++11 status table in the manual listed this as missing, but it
doesn't (except under the general container requirements)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/53221] [C++11] basic_string lacks "copy/move constructors" with allocator
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
2012-05-03 20:42 ` [Bug libstdc++/53221] " redi at gcc dot gnu.org
@ 2012-11-06 11:36 ` redi at gcc dot gnu.org
2013-03-22 14:45 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2012-11-06 11:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |redi at gcc dot gnu.org
|gnu.org |
Target Milestone|--- |4.8.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/53221] [C++11] basic_string lacks "copy/move constructors" with allocator
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
2012-05-03 20:42 ` [Bug libstdc++/53221] " redi at gcc dot gnu.org
2012-11-06 11:36 ` redi at gcc dot gnu.org
@ 2013-03-22 14:45 ` jakub at gcc dot gnu.org
2013-03-24 17:53 ` redi at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-03-22 14:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.0 |4.8.1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-22 14:44:06 UTC ---
GCC 4.8.0 is being released, adjusting target milestone.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/53221] [C++11] basic_string lacks "copy/move constructors" with allocator
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
` (2 preceding siblings ...)
2013-03-22 14:45 ` jakub at gcc dot gnu.org
@ 2013-03-24 17:53 ` redi at gcc dot gnu.org
2014-01-29 15:42 ` redi at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2013-03-24 17:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.1 |4.9.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/53221] [C++11] basic_string lacks "copy/move constructors" with allocator
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
` (3 preceding siblings ...)
2013-03-24 17:53 ` redi at gcc dot gnu.org
@ 2014-01-29 15:42 ` redi at gcc dot gnu.org
2014-01-29 15:42 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2014-01-29 15:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.0 |---
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This will be done during stage 1 for the next release
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/53221] [C++11] basic_string lacks "copy/move constructors" with allocator
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
` (4 preceding siblings ...)
2014-01-29 15:42 ` redi at gcc dot gnu.org
@ 2014-01-29 15:42 ` redi at gcc dot gnu.org
2014-09-19 13:28 ` redi at gcc dot gnu.org
2014-12-22 14:06 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2014-01-29 15:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tmmikolajczyk at gmail dot com
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 59283 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/53221] [C++11] basic_string lacks "copy/move constructors" with allocator
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
` (5 preceding siblings ...)
2014-01-29 15:42 ` redi at gcc dot gnu.org
@ 2014-09-19 13:28 ` redi at gcc dot gnu.org
2014-12-22 14:06 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2014-09-19 13:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |24882
Target Milestone|--- |5.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/53221] [C++11] basic_string lacks "copy/move constructors" with allocator
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
` (6 preceding siblings ...)
2014-09-19 13:28 ` redi at gcc dot gnu.org
@ 2014-12-22 14:06 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2014-12-22 14:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53221
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for GCC 5 (when using the new string ABI)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-12-22 14:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-03 20:13 [Bug libstdc++/53221] New: [C++11] basic_string lacks "copy/move constructors" with allocator daniel.kruegler at googlemail dot com
2012-05-03 20:42 ` [Bug libstdc++/53221] " redi at gcc dot gnu.org
2012-11-06 11:36 ` redi at gcc dot gnu.org
2013-03-22 14:45 ` jakub at gcc dot gnu.org
2013-03-24 17:53 ` redi at gcc dot gnu.org
2014-01-29 15:42 ` redi at gcc dot gnu.org
2014-01-29 15:42 ` redi at gcc dot gnu.org
2014-09-19 13:28 ` redi at gcc dot gnu.org
2014-12-22 14:06 ` redi at gcc dot gnu.org
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).