Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This trick sometimes pops up in C++ as well, although I never seen it used in production.

I think the earliest use I can remember is with the experimental FC++ library[1], circa 2001.

[1] https://yanniss.github.io/fc++/



> although I never seen it used in production

Well, of course boost has it, they use `<` and `>`:

[1] https://www.boost.org/doc/libs/1_78_0/libs/hof/doc/html/incl...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: