Should these variants serve as identifiers?

auto x²; //fails to compile: char 0x00b2 not allowed in identifier, unsupported char 0xb2 (why? is it not a digit?)

Same for ⅀, ∫ and etc.

Official documentations says:
«
D source text can be in one of the following formats:
ASCII
UTF-8
UTF-16BE
UTF-16LE
UTF-32BE
UTF-32LE
»

Math symbols could have a great use compare to just characters from other languages (who does code in Greek or Chinese?). Still, this function name in russian cause compile error: 2.вквадрате (вквадрате(2))

Reply via email to