mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-24 01:27:37 +02:00
Fusion: minor fix for adapt_class_named
[SVN r59345]
This commit is contained in:
@ -124,13 +124,13 @@
|
|||||||
\
|
\
|
||||||
class_member_proxy& operator=(cref_type val) \
|
class_member_proxy& operator=(cref_type val) \
|
||||||
{ \
|
{ \
|
||||||
obj.BOOST_PP_TUPLE_ELEM(4, 3, xy); \
|
BOOST_PP_TUPLE_ELEM(4, 3, xy); \
|
||||||
return *this; \
|
return *this; \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
operator lvalue() \
|
operator lvalue() \
|
||||||
{ \
|
{ \
|
||||||
return obj.BOOST_PP_TUPLE_ELEM(4, 2, xy); \
|
return BOOST_PP_TUPLE_ELEM(4, 2, xy); \
|
||||||
} \
|
} \
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
@ -143,7 +143,7 @@
|
|||||||
\
|
\
|
||||||
static get_type call(fullname const& obj) \
|
static get_type call(fullname const& obj) \
|
||||||
{ \
|
{ \
|
||||||
return obj.BOOST_PP_TUPLE_ELEM(4, 2, xy); \
|
return BOOST_PP_TUPLE_ELEM(4, 2, xy); \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
static proxy call(fullname& obj) \
|
static proxy call(fullname& obj) \
|
||||||
|
Reference in New Issue
Block a user