mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 17:17:23 +02:00
Fixed typos and inconsistencies in ADAPT_STRUCT documentation.
This commit is contained in:
@ -193,8 +193,8 @@ __random_access_sequence__.
|
|||||||
...
|
...
|
||||||
)
|
)
|
||||||
|
|
||||||
// When Variadic support isn't available or you wish to manually specify the type:
|
// When BOOST_PP_VARIADICS is missing :
|
||||||
BOOST_FUSION_AUTO_ADAPT_STRUCT(
|
BOOST_FUSION_ADAPT_STRUCT(
|
||||||
struct_name,
|
struct_name,
|
||||||
(member_type0, member_name0)
|
(member_type0, member_name0)
|
||||||
(member_type1, member_name1)
|
(member_type1, member_name1)
|
||||||
@ -238,7 +238,7 @@ namespace qualified name of the struct to be adapted.
|
|||||||
name,
|
name,
|
||||||
age)
|
age)
|
||||||
|
|
||||||
// Or demo::employee is also a Fusion sequence
|
// When BOOST_PP_VARIADICS is missing :
|
||||||
BOOST_FUSION_ADAPT_STRUCT(
|
BOOST_FUSION_ADAPT_STRUCT(
|
||||||
demo::employee,
|
demo::employee,
|
||||||
(BOOST_FUSION_ADAPT_AUTO, name)
|
(BOOST_FUSION_ADAPT_AUTO, name)
|
||||||
@ -263,7 +263,7 @@ __random_access_sequence__.
|
|||||||
...
|
...
|
||||||
)
|
)
|
||||||
|
|
||||||
// When Variadic support isn't available or you wish to manually specify the type:
|
// When BOOST_PP_VARIADICS is missing :
|
||||||
BOOST_FUSION_ADAPT_TPL_STRUCT(
|
BOOST_FUSION_ADAPT_TPL_STRUCT(
|
||||||
(template_param0)(template_param1)...,
|
(template_param0)(template_param1)...,
|
||||||
(struct_name) (specialization_param0)(specialization_param1)...,
|
(struct_name) (specialization_param0)(specialization_param1)...,
|
||||||
|
Reference in New Issue
Block a user