[Bug libstdc++/16415] swap overloading for std::vector<bool>::reference
gdr at acm dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 7 23:35:00 GMT 2004
------- Additional Comments From gdr at acm dot org 2004-07-07 23:35 -------
Subject: Re: swap overloading for
std::vector<bool>::reference
You Wrote pcarlini at suse dot de
>
> ------- Additional Comments From pcarlini at suse dot de 2004-07-07 22:09
> -------
> What we currently have is standard conforming, right? And the change was
> presented and agreed upon here:
>
> http://gcc.gnu.org/ml/libstdc++/2002-06/msg00015.html
>
> Seems also relevant this message from Gaby:
>
> http://gcc.gnu.org/ml/libstdc++/2002-05/msg00107.html
Hey, that was a long time ago :-) :-)
>
> Gaby, can you see an easy way to improve on the current situation while
> remaining standard-conforming?
I have not given a hard thought to this PR.
My gut feeling is that the argment about "generic code" is
very weak because vector<bool> is already broken by design,
i.e. it does not meet expections placed on general standard
container.
I don't see much point in maintaining this nonstandard
thing that can break code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16415
More information about the Gcc-bugs
mailing list