Fixed typos and inconsistencies in ADAPT_STRUCT documentation.

This commit is contained in:
Damien Buhl (alias daminetreg)
2014-06-11 02:35:31 +02:00
parent 4cf96e14f3
commit 2e60ba6f29

View File

@ -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)...,