Diving in the deep water of C++ - shared pointer, reference counter, atomic operations library...