Jean-Marc Lasgouttes wrote:
Depending on the context, tracking_changes == true results in either DELETED or INSERTED. Thus, the proposed constructor wouldn't work.They look good, although the repetition makes me wonder whether you should declare a Changes(BufferParams const &) constructor.
This insertAsString method should probably move to paragraph_funcs as a free standing function.
Something for later. Put on my todo list. Michael