Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10215: Defaulted functions not fully supported in VC 2013
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-02 22:07:58
#10215: Defaulted functions not fully supported in VC 2013
--------------------------------------+-------------------------
Reporter: leek@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: config
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------
Comment (by bdavis@â¦):
I'm encountering this as well. The OpenGL wrapper library Oglplus has the
option to use Boost Config instead of an empirical testing step, but boost
config reports defaulted functions supported on VS 2013, even though
there's only partial support. Unfortunately oglplus uses features that
aren't implemented on VS 2013, resulting in a compile failure.
While a more fine grained approach might solve this, it would be
complicated (how exactly do you break down all the various C++11 features
into bits that are supported and bits that arent? How do downstream
developers actually use that information?). I think a more conservative
approach is called for. If a feature isn't ''fully'' supported, then the
corresponding NO_CXX11_FEATURE_NAME define should be turned on.
You could add a 'BOOST_PARTIAL_CXX11_FEATURE_NAME' flag indicating partial
support without delving into the issue of what parts are actually
supported, so that downstream developers could potentially do something,
knowing that by relying on a PARTIAL declaration, they were treading on
thin ice.
Failing to turn on the flag when the feature isn't fully supported leads
to situations like mine, where I file a bug in a library I'm using, only
to discover that the upstream dev is using Boost and C++, apparently
correctly, but that because my compiler only has partial support for a
feature, I can't build without jumping through hoops.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10215#comment:1> 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