8 Sep
2010
8 Sep
'10
9:24 a.m.
Hicham Mouline schrieb:
Hello
I have this situation:
namespace X {
struct base_parameters { double skid; };
namespace XX { struct derived_parameters: public base_parameters { double old_field; }; }
}
// at global namespace BOOST_FUSION_ADAPT_STRUCT( X::XX::parameters,
there is no type named 'parameters' in X::XX .
(double, skid) //(double, old_field) )
boost 1.44
Is this supposed to work?
I'm getting a compile error which I can't understand and 1 change that I've done is remove the only field that was before in derived_parameters.
Regards,
changing 'parameters' to 'derived_parameters' makes it compile fine here (boost trunk, vc10). -Christopher