From ce24356018eb522840d075c8a81e98b44bdd18e9 Mon Sep 17 00:00:00 2001 From: "code@jendruk.com" Date: Tue, 7 May 2019 15:03:56 +0200 Subject: [PATCH] Replace is_copy_constructible with is_abstract (for pre C++11) --- include/boost/range/detail/any_iterator_interface.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/range/detail/any_iterator_interface.hpp b/include/boost/range/detail/any_iterator_interface.hpp index 9310038..38b307f 100644 --- a/include/boost/range/detail/any_iterator_interface.hpp +++ b/include/boost/range/detail/any_iterator_interface.hpp @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include @@ -39,15 +39,15 @@ namespace boost struct reference_as_value_type_generator { typedef typename mpl::if_< - typename is_copy_constructible< + typename is_abstract< typename remove_const< typename remove_reference::type >::type >::type, + T, typename remove_const< typename remove_reference::type - >::type, - T + >::type >::type type; };