Boost C++ Libraries: Ticket #1992: boost::mpl::zip_view does not support use as a metafunction with ::type https://svn.boost.org/trac10/ticket/1992 <p> According to the <a href="http://www.boost.org/doc/libs/1_35_0/libs/mpl/doc/refmanual/zip-view.html">zip_view documentation</a> (under Expression Semantics) you can use zip_view as a metafunction (i.e. <code>zip_view&lt;seq&gt;::type</code> as well as just <code>zip_view&lt;seq&gt;</code>), but this doesn't work. The zip_view class contains no definition of type, so it couldn't possibly work. </p> <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1992 Trac 1.4.3 John Bytheway <jbytheway@…> Thu, 05 Jun 2008 21:48:00 GMT attachment set https://svn.boost.org/trac10/ticket/1992 https://svn.boost.org/trac10/ticket/1992 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">mpl-zip_view-bug.cpp</span> </li> </ul> Ticket John Bytheway <jbytheway@…> Thu, 05 Jun 2008 21:49:11 GMT attachment set https://svn.boost.org/trac10/ticket/1992 https://svn.boost.org/trac10/ticket/1992 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">mpl-zip_view-bug.patch</span> </li> </ul> Ticket anonymous Sun, 28 Mar 2010 14:27:37 GMT owner, status, version, milestone changed https://svn.boost.org/trac10/ticket/1992#comment:1 https://svn.boost.org/trac10/ticket/1992#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Aleksey Gurtovoy</span> to <span class="trac-author-anonymous">anonymous</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.35.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.36.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> Fixed in the trunk: <a class="ext-link" href="https://svn.boost.org/trac/boost/changeset/60888"><span class="icon">​</span>https://svn.boost.org/trac/boost/changeset/60888</a> </p> Ticket anonymous Mon, 26 Apr 2010 23:44:32 GMT status, version, milestone changed; resolution set https://svn.boost.org/trac10/ticket/1992#comment:2 https://svn.boost.org/trac10/ticket/1992#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost Development Trunk</span> → <span class="trac-field-new">Boost 1.43.0</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.43.0</span> </li> </ul> Ticket