Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10844: flyweight: multiple default constructors with real perfect forwarding
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-04 11:19:22
#10844: flyweight: multiple default constructors with real perfect forwarding
-------------------------------+-----------------------
Reporter: tore.halvorsen@⦠| Owner: joaquin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: flyweight
Version: Boost 1.57.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+-----------------------
Comment (by tore.halvorsen@â¦):
Replying to [comment:1 joaquin]:
> As far as I understand C++ rules, this should not raise any kind of
ambiguity as the default ctor should be preferred over the templated ctor
(called with no args). Are you having warnings with some compiler?
I get warnings from MS Visual Studio 2013.
You are probably right in that the default ctor is preferred. It's
probably just a cosmetic warning.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10844#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC