Boost C++ Libraries: Ticket #3322: Incorrect/Inconsistent behavior of fusion::find with vector and adapted struct. https://svn.boost.org/trac10/ticket/3322 <p> For adapted struct: </p> <p> struct foo { </p> <blockquote> <p> int bar; </p> </blockquote> <p> }; </p> <p> ... adapted struct code... </p> <p> Attempting to find 'int' in a const instance of foo fails unless the query is against a const int. Works correctly for fusion::vector et al. </p> <p> const foo f; </p> <p> fusion::find&lt;int&gt;(f); <em> error fusion::find&lt;const int&gt;(f); </em> OK </p> <p> See attached code </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3322 Trac 1.4.3 tegtmeye@… Thu, 06 Aug 2009 21:10:18 GMT attachment set https://svn.boost.org/trac10/ticket/3322 https://svn.boost.org/trac10/ticket/3322 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fusion_test.cc</span> </li> </ul> <p> Example file </p> Ticket tegtmeye@… Thu, 06 Aug 2009 21:17:22 GMT keywords set https://svn.boost.org/trac10/ticket/3322#comment:1 https://svn.boost.org/trac10/ticket/3322#comment:1 <ul> <li><strong>keywords</strong> fusion find BOOST_FUSION_ADAPT_STRUCT added </li> </ul> <p> Boost users thread: <a class="ext-link" href="http://article.gmane.org/gmane.comp.lib.boost.user/50124"><span class="icon">​</span>http://article.gmane.org/gmane.comp.lib.boost.user/50124</a> </p> Ticket tegtmeye@… Thu, 06 May 2010 18:20:50 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3322#comment:2 https://svn.boost.org/trac10/ticket/3322#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Seems to be fixed in 1.43 </p> Ticket