Hi Per,
This is as the C++ standard specifies in 27.6.1.3 paragraph 3 (in my TC 1
version of the standard):
Effects: .. After constructing a sentry object, extracts a character c, if
one is available. Otherwise the function calls setstate(failbit), which may
throw ios_base::faillure.
Can you use peek() as a workaround?
Ronald Laeremans
Visual C++ team
> Hi
> I'm moving one of my programs from MSVC 6 to .NET 2003 and now the librare is changed so that
[quoted text clipped - 4 lines]
> Regards
> Per