Issue 74214
Summary [libc++][test] User-defined `std::ctype<Char>` specialization lacks `tolower()`
Labels libc++
Assignees
Reporter StephanTLavavej
    Found while running libc++'s test suite with MSVC's STL.

The following code is non-conforming:

https://github.com/llvm/llvm-project/blob/7ec4f6094e54911794c142b5d88496a220d807d6/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/user_defined_char_type.pass.cpp#L76-L86

This specialization doesn't meet all of the Standard's requirements for `std::ctype` because it's missing a bunch of stuff. In particular, it's missing a `tolower()` member function, which is what MSVC's STL wants.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to