forked from boostorg/fusion
Fixed C++11 implementation of map's result_of::deref_data to return a
reference as expected.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user