summaryrefslogtreecommitdiff
path: root/boost/fusion/container/map/detail/at_key_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/map/detail/at_key_impl.hpp')
-rw-r--r--boost/fusion/container/map/detail/at_key_impl.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/boost/fusion/container/map/detail/at_key_impl.hpp b/boost/fusion/container/map/detail/at_key_impl.hpp
index 5b57c4b835..a546bd00ce 100644
--- a/boost/fusion/container/map/detail/at_key_impl.hpp
+++ b/boost/fusion/container/map/detail/at_key_impl.hpp
@@ -12,6 +12,7 @@
#include <boost/type_traits/is_const.hpp>
#include <boost/mpl/at.hpp>
#include <boost/mpl/identity.hpp>
+#include <boost/utility/declval.hpp>
namespace boost { namespace fusion
{
@@ -29,10 +30,10 @@ namespace boost { namespace fusion
struct apply
{
typedef
- decltype(std::declval<Sequence>().get(mpl::identity<Key>()))
+ decltype(boost::declval<Sequence>().get(mpl::identity<Key>()))
type;
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static type
call(Sequence& m)
{
@@ -44,10 +45,10 @@ namespace boost { namespace fusion
struct apply<Sequence const, Key>
{
typedef
- decltype(std::declval<Sequence const>().get(mpl::identity<Key>()))
+ decltype(boost::declval<Sequence const>().get(mpl::identity<Key>()))
type;
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static type
call(Sequence const& m)
{