--- Additional Comments From bje at au1 dot ibm dot com 2005-01-19 06:05
---
Subject: Re: basic_string::_M_rep() can produce an unnaturally aligned pointer
to _Rep
On Tue, Jan 18, 2005 at 09:45:48AM -, pcarlini at suse dot de wrote:
> In other terms, as far as this PR is concerned, basic_string seems
> ok, just you cannot create a basic_string object in memory
> aligned one, as happens in ext/array_allocator/2.cc, which therefore
> should be fixed.
Does this behaviour seem a little bit unusual to you? You said: "You
cannot create a basic_string object in memory aligned one".
That is rather counter-intuitive to a user of libstdc++ who has no
understanding of the implementation details of basic_string.
Ben
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19495