Opened 15 years ago
Closed 12 years ago
#1324 closed Bugs (fixed)
tuple should have a swap() that operates element-by-element
Reported by: | Dave Abrahams | Owned by: | Joel de Guzman |
---|---|---|---|
Milestone: | To Be Determined | Component: | tuple |
Version: | Boost 1.34.1 | Severity: | Problem |
Keywords: | Cc: |
Description
See my posts in this thread for the reasons http://groups.google.com/group/comp.lang.c++.moderated/browse_frm/thread/9b934c295e0eff2e/d0665df6f713a11a#d0665df6f713a11a
I know this could be considered a feature request, but I consider it a design bug. The same obviously applies to fusion.
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
FWIW, Fusion has swap. And, since boost.tuple is a valid fusion sequence, Fusion swap is also usable with it.
I'll look into boost.tuple.