Remove invalid odr-usages of boost::declval.

This commit is contained in:
Louis Dionne
2015-11-07 16:11:06 -05:00
parent 1bc343660b
commit 4d3891ed31
2 changed files with 4 additions and 11 deletions

View File

@ -36,7 +36,6 @@
#include <boost/core/enable_if.hpp>
#include <boost/mpl/int.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/type_traits/declval.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/remove_cv.hpp>
@ -272,8 +271,8 @@ namespace boost { namespace fusion
}
template <std::size_t N, typename U>
static BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
U value_at_impl(store<N, U>*) { return boost::declval<U>(); }
static BOOST_FUSION_GPU_ENABLED
U value_at_impl(store<N, U>*);
};
template <typename V, typename... T>