Fixed C++11 implementation of map's result_of::deref_data to return a

reference as expected.
This commit is contained in:
Joel de Guzman committed 2014-11-18 23:11:20 +08:00
1 parent 68b4683e95
commit 0f34b3a692
3 files changed
+18 -8

No files matched your search

@@ -83,8 +83,10 @@ namespace boost { namespace fusion
{
typedef typename Iterator::sequence sequence;
typedef typename Iterator::index index;
typedef
decltype(boost::declval<sequence>().get(index()).second)
typedef typename
add_reference<
decltype(boost::declval<sequence>().get(index()).second)
>::type
type;
BOOST_FUSION_GPU_ENABLED