Re: [Boost-bugs] [Boost C++ Libraries] #10295: Boost Type Erasure does't compile on Visual Studio 2013

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: 2014-08-03 12:00:24


#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 miticodonati@…):

 Replying to [ticket:10295 miticodonati@…]:
> Even the most trivial example of usage doesn't compile:
>
>
 http://www.boost.org/doc/libs/1_56_0_b1/libs/type_erasure/example/basic.cpp
>
> The error is "unkown identifier: type" or something like that, and is
 present in various headers when calling something like "typedef typename
 ::boost::type_erasure::detail::" .. and obtatining the type via "::type".
 There may be also other problems
>
> I would gladly help if possible, the library seems good

 EDIT:
 Adding
 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
 seems to solve the issue

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10295#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:16 UTC