Boost C++ Libraries: Ticket #11865: Intrusive list explicit ctor error with Clang 3.6 (C++11/14) https://svn.boost.org/trac10/ticket/11865 <pre class="wiki">namespace bi = boost::intrusive; struct A : bi::list_base_hook&lt;&gt; { }; struct C { bi::list&lt;A&gt; a; }; C c{}; // clang error: chosen constructor is explicit in copy-initialization </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11865 Trac 1.4.3 Ion Gaztañaga Fri, 26 Feb 2016 22:13:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11865#comment:1 https://svn.boost.org/trac10/ticket/11865#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> Thanks for the report. Split destructors with default parameters into two constructors, as done in the C++ standard according to issue <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2193" title="#2193: Patches: exception: boost::exception_detail::bad_alloc_impl does not provide ... (closed: fixed)">#2193</a> </p> <p> <a class="ext-link" href="http://cplusplus.github.io/LWG/lwg-defects.html#2193"><span class="icon">​</span>http://cplusplus.github.io/LWG/lwg-defects.html#2193</a> </p> <p> Fixed in commit: </p> <p> <a class="ext-link" href="https://github.com/boostorg/intrusive/commit/1c59efae73a3b3f2ee45e94c36b6a5561f237220"><span class="icon">​</span>https://github.com/boostorg/intrusive/commit/1c59efae73a3b3f2ee45e94c36b6a5561f237220</a> </p> Ticket