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
{{ message }}
Repository navigation
File an LWG issue about char_traits::eq() being underspecified #2691
It may be difficult to make such specification when there's no operator== for T, or when equality comparison results in UB for T() (while eq is still well-defined). Not sure whether "value representation" is suitable here.
See this comment thread: #2676 (comment)
For example,
char_traits::eq()should consider the null terminator to be distinct from every other value.