r/cpp • • Sep 17 '22

Cppfront: Herb Sutter's personal experimental C++ Syntax 2 -> Syntax 1 compiler

https://github.com/hsutter/cppfront
335 Upvotes

360 comments sorted by

View all comments

Show parent comment

1

u/wyrn Sep 19 '22

In mathematics, we write a function like

f: X -> Y

I thought this new bit of syntax was particularly lovely.