C++ Chain-Link