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

You can't do it for structure fields in C++. The C++ idiom would probably be something like a member function that returned (void*)&this[1].


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

Search: