Suppress undefined inline function warning.

This commit is contained in:
Kohei Takahashi
2015-10-27 07:59:55 +09:00
parent 76f49608c7
commit 4d5da0371b
2 changed files with 9 additions and 2 deletions

View File

@@ -17,6 +17,9 @@
#include <boost/fusion/algorithm/iteration/fold.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <boost/type_traits/is_convertible.hpp>
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
#include <boost/type_traits/declval.hpp>
#endif
namespace boost { namespace fusion
{
@@ -61,7 +64,10 @@ namespace boost { namespace fusion
template<typename StrictestSoFar, typename Next>
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
typename result<strictest_traversal_impl(StrictestSoFar, Next)>::type
operator()(StrictestSoFar&&, Next&&) const;
operator()(StrictestSoFar&&, Next&&) const
{
return boost::declval<typename result<strictest_traversal_impl(StrictestSoFar, Next)>::type>();
}
#endif
};