This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: iter_swapping vector<bool>::iterator..


On Fri, Mar 18, 2005 at 04:35:02PM +0000, Jonathan Wakely wrote:
> Would an iter_swap() overload for vector<bool>::iterator be conforming?

I'm not sure of the rules concerning extra specializations, but if allowed
it would seem like a good approach.

> Even if not, could you dispatch to a helper function inside iter_swap,
> which could be overloaded for vector<bool>::iterator ?

One of those two solutions might be the best thing to do.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]