Skip to content

Replace iostream and fstream includes by iosfwd in OTB headers

Julien Michel requested to merge 1649-swap-iostream-with-iosfwd into develop

Summary

Replace #include <iostream> and #include <fstream> by #include <iosfwd> to reduce building time

Part of #1649 (closed)

Rationale

See #1649 (closed)

Implementation Details

A bit of refactoring was needed in old IO classes, that where using iostream and fstream as class members.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


***Check before merging:*** - All discussions are resolved - At least 2 👍 votes from core developers, no 👎 vote. - The feature branch is (reasonably) up-to-date with the base branch - Dashboard is green - Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
Edited by Julien Michel

Merge request reports