Modify

Ticket #11865 (closed Bugs: fixed)

Opened 16 months ago

Last modified 14 months ago

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

Reported by: anonymous Owned by: igaztanaga
Milestone: To Be Determined Component: intrusive
Version: Boost 1.60.0 Severity: Problem
Keywords: Cc:

Description

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

Attachments

Change History

comment:1 Changed 14 months ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

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

http://cplusplus.github.io/LWG/lwg-defects.html#2193

Fixed in commit:

https://github.com/boostorg/intrusive/commit/1c59efae73a3b3f2ee45e94c36b6a5561f237220

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.