template <typename Visitor> void enumerateFields_gen(MemoryModifier obj, Visitor & vis) { vis(obj.allBits(),"allBits"); vis(obj.semantic(),"semantic"); vis(obj.aligned(),"aligned"); }
template <typename Visitor> void enumerateFields_gen(MemoryModifier obj, Visitor & vis) { vis(obj.allBits(),"allBits"); vis(obj.isConst(),"isConst"); }