RowFunc C++11 refactoring