summaryrefslogtreecommitdiff
path: root/boost/fusion/container/map/detail/at_key_impl.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-03-21 15:45:20 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-03-21 15:46:37 +0900
commit733b5d5ae2c5d625211e2985ac25728ac3f54883 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /boost/fusion/container/map/detail/at_key_impl.hpp
parent08c1e93fa36a49f49325a07fe91ff92c964c2b6c (diff)
downloadboost-733b5d5ae2c5d625211e2985ac25728ac3f54883.tar.gz
boost-733b5d5ae2c5d625211e2985ac25728ac3f54883.tar.bz2
boost-733b5d5ae2c5d625211e2985ac25728ac3f54883.zip
Imported Upstream version 1.58.0upstream/1.58.0
Change-Id: If0072143aa26874812e0db6872e1efb10a3e5e94 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
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)
{