Adding support for c++ standard istreams and ostreams