20 ms·
Afaik for C & C++, that's not true – you can turn const references into normal references and are even allowed to mutate the object they point to unless said ob
by skitter 3y ago
Afaik for C & C++, that's not true – you can turn const references into normal references and are even allowed to mutate the object they point to unless said object is declared as const.
- IshKebab 3y agoOnly through an escape hatch (a big red flag one at that). You aren't supposed to.