Came up in considering options for representing enums like:
enum tls-version {
tls1,
tls1-1,
tls1-2,
tls1-3
}
where it would be useful to be able to write an explicit underscore separator:
enum tls-version {
tls1,
tls1_1,
tls1_2,
tls1_3
}
It might just still be possible to still retain bijective mapping using names like TlsVersion::TLS1__2 / tls1_2 (double underscoring).