Opened 3 years ago

Closed 3 years ago

#11865 closed Bugs (fixed)

Intrusive list explicit ctor error with Clang 3.6 (C++11/14)

Reported by: anonymous Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: intrusive
Version: Boost 1.60.0 Severity: Problem
Keywords: Cc:


namespace bi = boost::intrusive;

struct A : bi::list_base_hook<>

struct C
    bi::list<A> a;

C c{}; // clang error: chosen constructor is explicit in copy-initialization

Change History (1)

comment:1 Changed 3 years ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

Thanks for the report. Split destructors with default parameters into two constructors, as done in the C++ standard according to issue #2193

Fixed in commit:

Note: See TracTickets for help on using tickets.