diff --git a/examples/constexpr14_sort_check.cpp b/examples/constexpr14_sort_check.cpp index 54a8435..2f5f4a3 100644 --- a/examples/constexpr14_sort_check.cpp +++ b/examples/constexpr14_sort_check.cpp @@ -1,4 +1,4 @@ -// Copyright 2013-2017 Antony Polukhin +// Copyright 2013-2018 Antony Polukhin // Distributed under the Boost Software License, Version 1.0. // (See the accompanying file LICENSE_1_0.txt @@ -6,7 +6,7 @@ #include -#if !defined(BOOST_NO_CXX14_CONSTEXPR) && !defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) +#if !defined(BOOST_NO_CXX14_CONSTEXPR) && !defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && (!defined(_MSC_VER) || (_MSC_VER > 1914)) //[type_index_constexpr14_sort_check_example /*` @@ -68,7 +68,7 @@ int main() { } //] [/type_index_constexpr14_sort_check_example] -#else // #if !defined(BOOST_NO_CXX14_CONSTEXPR) && !defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) +#else // #if !defined(BOOST_NO_CXX14_CONSTEXPR) && !defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && (!defined(_MSC_VER) || (_MSC_VER > 1914)) int main() {}