Boost C++ Libraries: Ticket #10126: call_once: deprecate (Function, once_flag&) overload https://svn.boost.org/trac10/ticket/10126 <p> The compatibility overload of call_once with reversed argument order leads to confusing error messages in clang. </p> <p> The reason is that clang tries to instantiate template&lt;typename Function&gt; inline void call_once(Function func,once_flag&amp; flag) with Function = boost::once_flag. </p> <p> Could that overload be removed for the next BOOST_THREAD_VERSION? That would also help with codebases which need to use boost::call_once and std::call_once interchangeably as this overload is not present in the std version. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10126 Trac 1.4.3 raad@… Mon, 16 Jun 2014 08:38:10 GMT summary changed https://svn.boost.org/trac10/ticket/10126#comment:1 https://svn.boost.org/trac10/ticket/10126#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">call_once: deprecate (Function, once_flag&amp;) onverload</span> → <span class="trac-field-new">call_once: deprecate (Function, once_flag&amp;) overload</span> </li> </ul> Ticket viboes Mon, 16 Jun 2014 18:53:51 GMT owner, status changed https://svn.boost.org/trac10/ticket/10126#comment:2 https://svn.boost.org/trac10/ticket/10126#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket raad@… Mon, 16 Jun 2014 21:21:15 GMT version changed https://svn.boost.org/trac10/ticket/10126#comment:3 https://svn.boost.org/trac10/ticket/10126#comment:3 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.54.0</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> Ticket viboes Fri, 04 Jul 2014 05:54:09 GMT milestone changed https://svn.boost.org/trac10/ticket/10126#comment:4 https://svn.boost.org/trac10/ticket/10126#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.56.0</span> </li> </ul> Ticket viboes Sat, 19 Jul 2014 16:40:05 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10126#comment:5 https://svn.boost.org/trac10/ticket/10126#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket