This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16415] swap overloading for std::vector<bool>::reference
- From: "gdr at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2004 23:35:42 -0000
- Subject: [Bug libstdc++/16415] swap overloading for std::vector<bool>::reference
- References: <20040707202334.16415.Martin.vGagern@gmx.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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