Hacker News new | past | comments | ask | show | jobs | submit login

> Different types can [AFAIR] per the standard theoretically be in different address spaces

If you can force the types to contain a member of the same type (say, a int or enum foobar_discriminant), the pointers &const_var_foo.disc and &const_var_bar.disc would have to differ for obvious reasons.




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

Search: