MSVC == 1900 scope_exit in lambda fix

fixed internal compiler error when using scope-exit inside a lambda with MSVC 1900 (VS 2015)
This commit is contained in:
tobias-loew
2018-01-12 13:48:16 +01:00
parent 0047815f4a
commit f16777e743

View File

@ -15,7 +15,7 @@
#include <boost/config.hpp>
#if !defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) && !defined(BOOST_TYPEOF_EMULATION)
#if (!defined(_MSC_VER) || (_MSC_VER > 1900)) && !defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) && !defined(BOOST_TYPEOF_EMULATION)
# define BOOST_TYPEOF_DECLTYPE
# ifndef BOOST_TYPEOF_NATIVE
# define BOOST_TYPEOF_NATIVE