id summary reporter owner description type status milestone component version severity resolution keywords cc 4281 BOOST_FUSION_DEFINE_TPL_STRUCT mismatch between doc and implementation/test Gevorg Voskanyan Christopher Schmidt "The documentation page for BOOST_FUSION_DEFINE_TPL_STRUCT suggests to specify the list of namespaces before the list of template parameters, which looks to be in conflict with the test (test/sequence/define_tpl_struct.cpp) and the implementation, where the list of namespaces comes after the list of template parameters. I.e., the doc contains: ------------------------------------------- BOOST_FUSION_DEFINE_TPL_STRUCT( (namespace0)(namespace1)..., (template_param0)(template_param1)..., struct_name, (member_type0, member_name0) (member_type1, member_name1) ... ) [snip] // Any instantiated demo::employee is a Fusion sequence BOOST_FUSION_DEFINE_TPL_STRUCT( (demo), (Name)(Age), employee, (Name, name) (Age, age)) ------------------------------------------- Whereas the test contains: ------------------------------------------- BOOST_FUSION_DEFINE_TPL_STRUCT( (X)(Y), (ns), point, (X, x) (Y, y) ) ------------------------------------------- BOOST_FUSION_DEFINE_ASSOC_TPL_STRUCT suffers from the same problem." Bugs closed fusion Boost 1.43.0 Problem fixed v_gevorg@… Christopher Schmidt