Enable fold expressions on g++

This commit is contained in:
Peter Dimov
2017-05-24 06:16:17 +03:00
parent 40a07e0f5a
commit 0e0d7fae4e
2 changed files with 7 additions and 3 deletions

View File

@@ -499,7 +499,7 @@ namespace detail
template<class L, class V> struct mp_find_impl;
#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS )
#if defined( BOOST_CLANG ) && defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS )
struct mp_index_holder
{
@@ -589,7 +589,7 @@ namespace detail
template<class L, template<class...> class P> struct mp_find_if_impl;
#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS )
#if defined( BOOST_CLANG ) && defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS )
template<template<class...> class L, class... T, template<class...> class P> struct mp_find_if_impl<L<T...>, P>
{