C++ list splice