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] | |
The "new" iter_swap will also not work in cases where the two iterators' value_types are distinct types:
int i; double d; std::iter_swap (&i, &d);
I would like to see the standard changed to either explicitly require that iter_swap's iterators' value_types be identical or the resolution of issue 187 reverted/changed so as not to force this new requirement.
Thanks, Paolo.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |