2 ms·
Nice to see more immutable data structures for C++. I recently implement a persistent list inside a personal project, it's quite easy using shared_ptr (a set o
by Rexxar 10y ago
Nice to see more immutable data structures for C++. I recently implement a persistent list inside a personal project, it's quite easy using shared_ptr (a set of persistent list forms a DAG, so no loop).
It would be nice to have a persistent version of all standard containers. It seems that implementing "Finger Tree" would be a good start as a basic building block. But I didn't find any c++ implementation.