round bracket member initialisation not processed correctly
Brought to you by:
hpcoder
struct Foo { int width; float bar; Foo(): bar{0.1}, width(1) {} };
produces
void operator()(classdesc::p_t& targ, const classdesc::string& desc,_CD_ARG_TYPE& arg) { ::p(targ,desc+".width",arg.width); ::p(targ,desc+".bar",arg.bar); ::p(targ,desc+".width",arg,&::Foo::width); }
Anonymous
Another example:
Notice update is missing from the descriptor.