On Thursday, 28 July 2016 17:00:49 UTC+3,
jara...@skynet.be wrote:
> Hi,
>
> the following code should compile according to the standard (library).
What standard library? Cite, link, quote?
Yes it is your bug and compiler complains cleanly. All you need is to
read a bit of docks. I can highlight the points: That 'ios_base::beg'
is of type 'ios_base::seekdir'. That 'ios_base::seek_dir' that you use
is deprecated member type and compatibility with 'ios_base::seekdir'
is nowhere required. See yourself:
http://en.cppreference.com/w/cpp/io/ios_base