Changed "using namespace std; ws()" into "std::ws()" to avoid ambiguities with a possible "::ws" namespace.