<string>: Fix handling for char_traits<unicorn> by frederick-vs-ja · Pull Request #4951 · microsoft/STL (original) (raw)

Fixes #4930. Ideally, when T is an implementation-controlled type, special handling should be enabled for char_traits<T> to reject more unintended element types. But the complete work is impractical, so this PR restricts the handling to arithmetic types and nullptr_t.

Drive-by changes: