Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sampo
3 months ago
|
parent
|
context
|
favorite
| on:
Myna: Monospace typeface designed for symbol-heavy...
> have macros for your editors that allow you to convert the "->" into an actual arrow.
Or, as suggested here, use language macros:
#define → ->
https://lists.isocpp.org/std-proposals/2023/01/5485.php
teo_zero
3 months ago
[–]
This is not valid C, though. The characters allowed for identifiers are defined in Unicode Standard Annex #31, and those easily understood as operators, like arrows, are not included.
eviks
3 months ago
|
parent
[–]
Unless you extend the language reference beyond the limits of #31, of course
teo_zero
3 months ago
|
root
|
parent
[–]
Sorry, who is "you" in your sentence? The C workgroup?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Or, as suggested here, use language macros:
https://lists.isocpp.org/std-proposals/2023/01/5485.php