
19 Feb
2011
19 Feb
'11
4:05 p.m.
Hello I have a compilation error when using BOOST_FUSION_ADAPT_TPL_STRUCT on nested structure. namespace nsp { template< class T > struct Outer { struct Inner { int mint; }; }; } BOOST_FUSION_ADAPT_TPL_STRUCT( (T), (nsp::Outer::Inner) (T), (int, mint) ) Above code generates compiler errors on g++ 4.4.5. Am I doing something wrong? Or maybe BOOST_FUSION_ADAPT_TPL_STRUCT can't adapt nested structures? If so, how can I workaround this? -- best regards Kamil Renczewski