summaryrefslogtreecommitdiff
path: root/boost/fusion/container/map/detail/at_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/map/detail/at_impl.hpp')
-rw-r--r--boost/fusion/container/map/detail/at_impl.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/boost/fusion/container/map/detail/at_impl.hpp b/boost/fusion/container/map/detail/at_impl.hpp
index c2a565ebe0..ab35870ffd 100644
--- a/boost/fusion/container/map/detail/at_impl.hpp
+++ b/boost/fusion/container/map/detail/at_impl.hpp
@@ -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,10 +28,10 @@ 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
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static type
call(Sequence& m)
{
@@ -43,10 +44,10 @@ 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
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static type
call(Sequence const& m)
{