Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10295: Boost Type Erasure does't compile on Visual Studio 2013
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-10 12:49:22
#10295: Boost Type Erasure does't compile on Visual Studio 2013
-----------------------------+---------------------------------------------
Reporter: miticodonati@⦠| Owner: steven_watanabe
Type: Bugs | Status: new
Milestone: To Be | Component: type_erasure
Determined | Severity: Problem
Version: Boost 1.56.0 | Keywords: Type Erasure Visual Studio 2013
Resolution: |
-----------------------------+---------------------------------------------
Comment (by Martina Fedyszynová <m.fedyszynova@â¦>):
I've managed to patch the library for VS2013 to bring back support for
variadic templates. Almost all examples and tests build successfully -
except for:
- ''printf.cpp'' example - asserts that any_printable needs the relaxed
concept (I believe it is a bug in the example)
- ''test_free.cpp'' - this test fails to build. VS2013 compiler seems to
require that all overloaded declarations of injected free functions are
seen before the first instantiation. Therefore when all the
BOOST_TYPE_ERASURE_FREE(...) lines are moved above all the test cases, the
test runs ok.
The patched ''callable.hpp'' also fixes overloaded callable concepts
(''multifunction.cpp'' example) which failed to built in VS2013. A bug in
the compiler causes ambiguities between the overloaded function call
operators imported via using declarations.
Sorry for double post of the attachment, the upload seemed stuck and the
file didn't appear so I tried it again...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10295#comment:4> 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:18 UTC