Boost C++ Libraries: Ticket #2249: MPL::switch_ not working and not documented
https://svn.boost.org/trac10/ticket/2249
<p>
Seems the current swich_ implementations uses lambda<> where it shouldn't. Moreover, there is no documentation for switch_.
</p>
<p>
Here's a link to a working code with added default_ and case_ meta-functions (for purely cosmetic feature, remove if uneeded).
</p>
<p>
<a class="ext-link" href="http://codepad.org/OOZ7riiy"><span class="icon"></span>http://codepad.org/OOZ7riiy</a>
</p>
<p>
Here's a link to a sample usage.
<a class="ext-link" href="http://codepad.org/Vho6k97u"><span class="icon"></span>http://codepad.org/Vho6k97u</a>
</p>
en-usBoost C++ Libraries/htdocs/site/boost.png
https://svn.boost.org/trac10/ticket/2249
Trac 1.4.3Marshall ClowTue, 09 Sep 2008 18:59:21 GMTcomponent changed; owner set
https://svn.boost.org/trac10/ticket/2249#comment:1
https://svn.boost.org/trac10/ticket/2249#comment:1
<ul>
<li><strong>owner</strong>
set to <span class="trac-author">Aleksey Gurtovoy</span>
</li>
<li><strong>component</strong>
<span class="trac-field-old">None</span> → <span class="trac-field-new">mpl</span>
</li>
</ul>
Ticketrpavlik@…Tue, 30 Oct 2012 17:02:05 GMT
<link>https://svn.boost.org/trac10/ticket/2249#comment:2 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2249#comment:2</guid>
<description>
<p>
This should either be fixed (the "working" version didn't work for me, sadly) and documented, or removed. As it stands, it is a disappointing glimmer of hope.
</p>
</description>
<category>Ticket</category>
</item>
<item>
<dc:creator>Joel Falcou</dc:creator>
<pubDate>Tue, 30 Oct 2012 17:45:13 GMT</pubDate>
<title/>
<link>https://svn.boost.org/trac10/ticket/2249#comment:3 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2249#comment:3</guid>
<description>
<p>
What's the actual problem with the "working" code ? This may need to be updated.
</p>
</description>
<category>Ticket</category>
</item>
</channel>
</rss>