Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#211 it files open in read only mode should not allow write ops

SVN
wont-fix
5
2013-05-23
2012-08-05
Bogdan Cristea
No

For reading writing it files there are two classes it_file and its parent it_ifile. However an object declared like this
it_file file;
still allows to open a file in read only mode
file.it_ifile::open(fileName);
Afterwards, however writing into file does not generate any error:
file << Name("a") << a;
such code should generate an error.

Discussion

  • Bogdan Cristea
    Bogdan Cristea
    2013-05-23

    • status: open --> wont-fix