1
0
forked from boostorg/mp11

Boost.Config no longer defines BOOST_NO_CXX11_CONSTEXPR for VS2015u3

This commit is contained in:
Peter Dimov
2016-10-23 18:16:55 +03:00
parent b88bb0654b
commit 37f088a5bc
2 changed files with 29 additions and 4 deletions

View File

@@ -14,6 +14,7 @@
#include <boost/mp11/utility.hpp>
#include <boost/mp11/detail/mp_plus.hpp>
#include <boost/mp11/detail/mp_map_find.hpp>
#include <boost/mp11/detail/config.hpp>
#include <boost/integer_sequence.hpp>
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
@@ -100,7 +101,7 @@ namespace detail
template<class L, class V> struct mp_count_impl;
#if !defined( BOOST_NO_CXX11_CONSTEXPR )
#if !defined( BOOST_MP11_NO_CONSTEXPR )
constexpr std::size_t cx_plus()
{
@@ -136,7 +137,7 @@ namespace detail
template<class L, template<class...> class P> struct mp_count_if_impl;
#if !defined( BOOST_NO_CXX11_CONSTEXPR )
#if !defined( BOOST_MP11_NO_CONSTEXPR )
template<template<class...> class L, class... T, template<class...> class P> struct mp_count_if_impl<L<T...>, P>
{
@@ -542,7 +543,7 @@ namespace detail
template<class L, class V> struct mp_find_index_impl;
#if !defined( BOOST_NO_CXX11_CONSTEXPR )
#if !defined( BOOST_MP11_NO_CONSTEXPR )
template<template<class...> class L, class V> struct mp_find_index_impl<L<>, V>
{
@@ -602,7 +603,7 @@ namespace detail
template<class L, template<class...> class P> struct mp_find_index_if_impl;
#if !defined( BOOST_NO_CXX11_CONSTEXPR )
#if !defined( BOOST_MP11_NO_CONSTEXPR )
template<template<class...> class L, template<class...> class P> struct mp_find_index_if_impl<L<>, P>
{