DU Results -

Source patches

du1examplepolicy.hpp

35,44d34
< 
<     template<typename X>
<     static std::string dump(X && x) {
<         return  "{"
<                  + serialize::string_attribute_dump(x, "B1", [](auto && m) -> auto && { return m->attrB1; })
<                  + ","
<                  + serialize::enum_attribute_dump< enumpolicyE>(x, "B2", [](auto && m) -> auto && { return m->attrB2; })
<                  + "}";
<     }
< 
59,70d48
< 
<     template<typename X>
<     static std::string dump(X && x) {
<         return "{"
<                + serialize::int_attribute_dump(x, "A1", [](auto && m) { return m->get_A1(); }, [](auto && m, auto && v) { m->set_A1(v); })
<                + ","
<                + serialize::string_attribute_dump(x, "A2", [](auto && m) -> auto && { return m->fA2(); })
<                + ","
<                + serialize::struct_sequence_attribute_dump< structpolicyB>(x, "A3", [](auto && m) -> auto && { return m->fA3(); })
<                + "}";
<     }
< 

Flex error reports

C++ error reports

Linker error reports

Run output diffs

empty

1c1
< {"A1" : 100,"A2" : "Hello","A3" : [{"B1" : "One","B2" : "X"},{"B1" : "Two","B2" : "Y"},{"B1" : "Three","B2" : "Z"}]}
\ No newline at end of file
---
> {"A1":100,"A2":"Hello","A3":[{"B1":"One","B2":"X"},{"B1":"Two","B2":"Y"},{"B1":"Three","B2":"Z"}]}
\ No newline at end of file