do not use a c++11 istream feature