We currently run into out most difficult problems most often because of raw pointers managed in a TTValue as it is passed about.
We use pointers because of the importance of the compactness of the union in TTValue. That makes a library like https://github.com/eggs-cpp/variant non-ideal for our situation.
Using shared pointers should be explored, but carefully diagramed first -- and thoroughly documented.
We currently run into out most difficult problems most often because of raw pointers managed in a TTValue as it is passed about.
We use pointers because of the importance of the compactness of the union in TTValue. That makes a library like https://github.com/eggs-cpp/variant non-ideal for our situation.
Using shared pointers should be explored, but carefully diagramed first -- and thoroughly documented.