#1601 closed Bugs (fixed)
distane of boost::tuple
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | fusion |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | tuple fusion | Cc: |
Description
fusion::distance
with boost::tuple
doesn't compile.
See the attached file.
Attachments (3)
Change History (7)
by , 15 years ago
Attachment: | boost_tuple_distance.cpp added |
---|
comment:1 by , 13 years ago
[Bug Sprint]
Error confirmed on recent trunk. Attaching patch for boost_tuple test which includes OP's test.
I have a working fix, will upload soon.
by , 13 years ago
Attachment: | boost_tuple.cpp.patch added |
---|
expanded version of OP's test, integrated in fusion/test/sequence/boost_tuple.cpp
comment:2 by , 13 years ago
[Bug Sprint]
Expanded test and added fix. I put the fix together without much knowledge of how boost::tuple or fusion's boost_tuple_iterator works, so it should probably be double checked. There is also some detail code that may need to be moved into a more appropriate place.
Expanded test passes on OS X / gcc-darwin 4.0.1
a failed example