Share via


ws

ws

template class<E, T>
    basic_istream<E, T>& ws(basic_istream<E, T> is);

The manipulator extracts and discards any elements x for which use_facet< ctype<E> >( getloc()). is( ctype<E>::space, x) is true. It calls setstate(eofbit) if it encounters end-of-file while extracting elements. The function returns is.