commit | 75075c6be00e97137fd099299efc47496d0ea2b4 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Thu Feb 01 03:55:27 2018 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Thu Feb 01 03:55:27 2018 +0000 |
tree | f7537243d541643fbb8778612ebacd0393b6dfc9 | |
parent | 37e4c9b159b436605961d2df0a810772128333aa [diff] |
Add static_asserts to basic_ios and basic_stream_buf to ensure that that the traits match the character type. This is a requirement on the user - now we get consistent failures at compile time instead of incomprehensible error messages or runtime failures. This is also LWG#2994 - not yet adopted. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@323945 91177308-0d34-0410-b5e6-96231b3b80d8