Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Apply a "list diff" to a concrete sequence of elements in a container.
This header provides specialisation(s) of the DiffApplicationStrategy to actual containers, choosing an implementation approach suitable for this specific kind of container. Together with a lib::diff::DiffApplicator, this allows to receive the description of changes (as a linearised sequence of DiffStep tokens) and apply them to a given concrete sequence of data elements, thereby transforming the contents of this target sequence.
Definition in file list-diff-application.hpp.
#include "lib/diff/list-diff.hpp"
#include "lib/format-string.hpp"
#include <algorithm>
#include <vector>
#include <tuple>
Classes | |
class | DiffApplicationStrategy< vector< E, ARGS... > > |
concrete strategy to apply a list diff to a target sequence given as vector. More... | |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |