inherit onyl from std::ostream