mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-24 09:37:14 +02:00
Fixed C++11 implementation of map's result_of::deref_data to return a
reference as expected.
This commit is contained in:
@ -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