Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/diff/tree-mutator-diffmutable-binding.hpp"
Entry Point: Specialisation of the collection binding to work on a collection of DiffMutable objects, either embedded directly, or attached via smart-ptr.
Since the DiffMutable interface directly exposes a function to build a TreeMutator, a generic implementation for recursive child mutation can be supplied automatically. Moreover, if the target objects also offer a getID()
function to reveal their object identity, the »Matcher« (to check applicability of some diff verb) can likewise be generated automatically.
Definition at line 160 of file tree-mutator-diffmutable-binding.hpp.
Static Public Member Functions | |
template<class COLL > | |
static auto | attachTo (COLL &coll) |