cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

Fix missing std::char_traits<uint8_t> (if it is in fact missing). #1812

Open leakingmemory opened this issue 8 months ago • 3 comments

leakingmemory avatar Jun 21 '25 13:06 leakingmemory

@microsoft-github-policy-service agree

leakingmemory avatar Jun 21 '25 15:06 leakingmemory

Just to clarify on this. My personal opinion is that it is better to break compatibility and fix this by not using unsigned char types with C++ streams. It has worked fine on some compilers and standard libraries, but to my knowledge only char types are supported by the C++ standard. This pull request was made with the intention to not break compatibility with existing code.

leakingmemory avatar Oct 23 '25 15:10 leakingmemory

收到,谢谢 

yuxiang-wen avatar Oct 23 '25 15:10 yuxiang-wen