cpp/regex/regex traits/translate

Obtains the comparison key for the character, such that all characters that are equivalent to this character in the imbued locale produce the same key.

When the regex library needs to match two characters and  and the flag  std is, it executes.

Standard library specializations of std return unmodified.

Return value
The comparison key for in the currently imbued locale.