gzstream: istream constructor should be called first
istream initializes the buffer buf while gzstreambase constructor opens the file and may set some flags (in case the file can't be opened). If istream is called last it will overwrite the flags that have been set
Showing
Please register or sign in to comment