Pragmatic C++ data structures