Subject: [Boost-bugs] [Boost C++ Libraries] #12236: BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES for msvc 2015
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-30 17:57:36
#12236: BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES for msvc 2015
------------------------------+---------------------
Reporter: fsmoke@⦠| Owner: ebf
Type: Tasks | Status: new
Milestone: To Be Determined | Component: variant
Version: Boost 1.60.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
Ealier i heard that msvc compiler has bugs around variadic templates(error
like 'not enough template arguments')
I tried to remove _MSC_VER checks on my vs2015 update 2 and i have got
compile result without any errors. May be it's time to change this
condition. Because very uncomfortably to use variant with limited quantity
of template arguments.
#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \
|| (!defined(__clang__) && defined(__GNUC__) && (__GNUC__ == 4) &&
(__GNUC_MINOR__ < 7)) \
/*|| (defined(_MSC_VER) && (_MSC_VER <= 1900))*/ \
|| defined(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE) \
|| defined (BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12236> 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:20 UTC