Boost C++ Libraries: Ticket #6622: boost::mpl::transform fails on boost::mpl::set in non-inserter form https://svn.boost.org/trac10/ticket/6622 <p> The following code does not compile with boost-1.48.0: </p> <pre class="wiki">typedef boost::mpl::transform&lt; boost::mpl::set&lt;double,float&gt;, boost::add_pointer&lt;boost::mpl::_1&gt; &gt;::type pointer_set; </pre><p> It fails on a compile-time assert deeply into boost.mpl with "REQUESTED_PUSH_FRONT_SPECIALIZATION_FOR_SEQUENCE_DOES_NOT_EXIST". This makes sense, as boost::mpl::set is not a front extensible sequence. One can get this to work by using a custom inserter that utilises boost::mpl::insert instead of boost::mpl::push_front, or using a different sequence class in the output. However, I think boost::mpl::transform should either be able to detect a set properly, or the documentation should state that the non-inserter version of boost::mpl::transform requires a front extensible sequence. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6622 Trac 1.4.3 boost@… Tue, 23 Apr 2013 13:51:09 GMT <link>https://svn.boost.org/trac10/ticket/6622#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6622#comment:1</guid> <description> <p> The documentation for mpl::reverse should also be updated to say it applies to Front Extensible Sequences, too, because mpl::reverse exhibits this same issue. </p> </description> <category>Ticket</category> </item> </channel> </rss>