Port to C++98