revised for linux clang compilation

missing std::, funct ordering