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

Kind of.

A pointer to type A is:

     var B: ^A
The parser knows it is a declaration because of the var, and it knows ^A is the type, because of the colon. That it is a caret does not really matter here


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

Search: