[Boost-bugs] [Boost C++ Libraries] #1992: boost::mpl::zip_view does not support use as a metafunction with ::type

Subject: [Boost-bugs] [Boost C++ Libraries] #1992: boost::mpl::zip_view does not support use as a metafunction with ::type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-05 21:47:37


#1992: boost::mpl::zip_view does not support use as a metafunction with ::type
-------------------------------------------------+--------------------------
 Reporter: John Bytheway <jbytheway_at_[hidden]> | Owner: agurtovoy
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: mpl
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
-------------------------------------------------+--------------------------
 According to the
 [http://www.boost.org/doc/libs/1_35_0/libs/mpl/doc/refmanual/zip-view.html
 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.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1992>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC