Opened 6 years ago

Last modified 6 years ago

#12758 new Bugs

Fix warning: declaration of 'explicit' constructor without a single argument is redundant

Reported by: martin.wild@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.60.0 Severity: Problem
Keywords: warning, compiling Cc:

Description

Dear Boost Developers,

When compiling Boost with a certain warning level in Linux we get the following warnings. warning #2305: declaration of 'explicit' constructor without a single argument is redundant

Attached you find the diff file to resolve the problem.

Regards

Martin

Attachments (1)

Boost_Patch_20170113.diff (2.3 KB ) - added by martin.wild@… 6 years ago.

Download all attachments as: .zip

Change History (2)

by martin.wild@…, 6 years ago

Attachment: Boost_Patch_20170113.diff added

comment:1 by Kohei Takahashi, 6 years ago

After c++11, explicit keyword is meaningful for non-unary ctor.

Anyway, break this ticket for each libraries (and set component).

Note: See TracTickets for help on using tickets.