forked from boostorg/fusion
Use boost::declval instead of std::declval, close #10190.
Thanks-to: Niklas Angare
This commit is contained in:
committed by
Kohei Takahashi
parent
6b6d613e15
commit
3b3da1a10a
@ -9,6 +9,7 @@
|
||||
|
||||
#include <boost/fusion/support/config.hpp>
|
||||
#include <boost/fusion/support/detail/access.hpp>
|
||||
#include <boost/utility/declval.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
@ -27,7 +28,7 @@ namespace boost { namespace fusion
|
||||
{
|
||||
typedef mpl::int_<N::value> index;
|
||||
typedef
|
||||
decltype(std::declval<Sequence>().get(index()))
|
||||
decltype(boost::declval<Sequence>().get(index()))
|
||||
type;
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
@ -43,7 +44,7 @@ namespace boost { namespace fusion
|
||||
{
|
||||
typedef mpl::int_<N::value> index;
|
||||
typedef
|
||||
decltype(std::declval<Sequence const>().get(index()))
|
||||
decltype(boost::declval<Sequence const>().get(index()))
|
||||
type;
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
|
Reference in New Issue
Block a user