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

I can't speak for the C++ example, but in your code snippet `->` points to the return type. The function takes an integer argument and effectively turns it into a tuple, so: `f(i32) -> (i32, bool)`.


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

Search: