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: Extending Temporary buffer for rvalues


Hi Chris,
> Another attempt at a patch!
Good, I like this version much better. But, I think you should rewrite
the loop somewhat differently if you want it to actually work with
*forward* iterators, you can't use, eg, __cur - 1 (by the way, as a
minor detail, normally ++__cur is to be preferred to __cur++)

Paolo.


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