Boost C++ Libraries: Ticket #9798: multi_index does not compile with BOOST_BIND_NO_PLACEHOLDERS https://svn.boost.org/trac10/ticket/9798 <p> I am using std::bind and boost placeholders conflict with std::placeholders, so I have to define BOOST_BIND_NO_PLACEHOLDERS. </p> <p> The problem is boost::multi_index does not compile with BOOST_BIND_NO_PLACEHOLDERS because it uses unqualified placeholder names in serialization functions. </p> <p> As a workaround I have to define BOOST_MULTI_INDEX_DISABLE_SERIALIZATION as well. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9798 Trac 1.4.3 Joaquín M López Muñoz Tue, 25 Mar 2014 06:57:22 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9798#comment:1 https://svn.boost.org/trac10/ticket/9798#comment:1 <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> Hi Maxim, </p> <p> Actually, if BOOST_BIND_NO_PLACEHOLDERS is defined there are no placeholder names to use, either in a qualified or unqualified way. </p> <p> Anyway, I've just made the lib compatible with this macro: </p> <p> <a class="ext-link" href="https://github.com/boostorg/multi_index/commit/f6ef739fc9b87f157baafa3ccce746dbd027f3d1"><span class="icon">​</span>https://github.com/boostorg/multi_index/commit/f6ef739fc9b87f157baafa3ccce746dbd027f3d1</a> </p> <p> Best, </p> Ticket maxim.yegorushkin@… Tue, 25 Mar 2014 10:41:22 GMT <link>https://svn.boost.org/trac10/ticket/9798#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9798#comment:2</guid> <description> <p> Thanks a lot, Joaquin. </p> </description> <category>Ticket</category> </item> </channel> </rss>