Y
Hacker News
new
|
ask
|
show
|
jobs
by
bingo3131
1608 days ago
foo::x is declared const inside the struct in the example given. Because of this, regardles of how you access foo::x, it will always be const.