C++ fix: update overloading <<