44 std::shared_ptr<Segment>
root;
Revision class for for keeping track of segment branches.
static thread_local std::shared_ptr< Revision > currentRevision
The current Revision for current thread.
Revision()
Construct for the very first Revision.
std::shared_ptr< Segment > current
Current Segment of that Revision.
std::thread thread
Thread stuct to join that Revision after it is completed.
std::shared_ptr< Segment > root
Segment from which this Revision was created.
Class to keep track what Versioned variables were changed.
void PrintRevision(std::shared_ptr< Revision > revision)
Print revision segments for debugging.