You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\GitHub\STL\out\build\x64>cl /EHsc /nologo /W4 /MTd meow.cpp
meow.cpp
D:\GitHub\STL\out\build\x64>meow
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Debug Assertion Failed!
Program: D:\GitHub\STL\out\build\x64\meow.exe
File: D:\GitHub\STL\out\build\x64\out\inc\iterator
Line: 399
Expression: istreambuf_iterator is not dereferenceable
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------
"%X" "parses the locale's standard time representation" (cppreference), which is why "3:04" is insufficient but "3:04:05" would succeed.
Compiler Explorer shows that Clang/libc++ and GCC/libstdc++ behave correctly here, printing "time_get::get() failed.": https://godbolt.org/z/anv7TTz4G
Issue #1071 was thought to be resolved by #1168 in VS 2019 16.8 with tests added by #1326, but this wasn't completely fixed. With today's
main
:"%X"
"parses the locale's standard time representation" (cppreference), which is why"3:04"
is insufficient but"3:04:05"
would succeed.Compiler Explorer shows that Clang/libc++ and GCC/libstdc++ behave correctly here, printing "time_get::get() failed.": https://godbolt.org/z/anv7TTz4G
Originally reported as DevCom-362423 and Microsoft-internal VSO-713785 / AB#713785 .
The text was updated successfully, but these errors were encountered: