compiler: C++ generator refactoring stared - operator<< generation made more OO