6 ms·
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.
by bingo3131 5y 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.
- deleted 5y ago[deleted]