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] | |
If we decided changing iter_swap was too serious an undertaking at this point, then according to the standard, should we be using swap() or iter_swap() in our implementation of reverse/sort/etc.etc.? I read it as swap personally. If we changed iter_swap it would make no difference as iter_swap would just call swap. If not, then it might be necessary to remove mentions of std::iter_swap(a,b) for swap(*a,*b) so we meet requirements?The usual convervative approach is to assume that if it is there then someone may have used it. Then it is a matter of whether you want to take the blame of breaking a working code -- there might be good reasons to do so.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |