Opened 14 years ago
Closed 12 years ago
#1992 closed Bugs (fixed)
boost::mpl::zip_view does not support use as a metafunction with ::type
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | mpl |
Version: | Boost 1.43.0 | Severity: | Problem |
Keywords: | Cc: |
Description
According to the zip_view documentation (under Expression Semantics) you can use zip_view as a metafunction (i.e. zip_view<seq>::type
as well as just zip_view<seq>
), but this doesn't work. The zip_view class contains no definition of type, so it couldn't possibly work.
I attach an example program exhibiting the bug and a trivial patch for zip_view.hpp which I believe defines type appropriately, fixing the bug.
Attachments (2)
Change History (4)
by , 14 years ago
Attachment: | mpl-zip_view-bug.cpp added |
---|
by , 14 years ago
Attachment: | mpl-zip_view-bug.patch added |
---|
comment:1 by , 13 years ago
Milestone: | Boost 1.36.0 → To Be Determined |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Version: | Boost 1.35.0 → Boost Development Trunk |
comment:2 by , 12 years ago
Milestone: | To Be Determined → Boost 1.43.0 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Version: | Boost Development Trunk → Boost 1.43.0 |
Note:
See TracTickets
for help on using tickets.
Fixed in the trunk: https://svn.boost.org/trac/boost/changeset/60888