4 ms·
Oh I see it can matter. But it may become intractable. Using 'const' matters, but few achieve it - even std library methods rarely use it for immutable argumen
by JoeAltmaier 12y ago
Oh I see it can matter. But it may become intractable. Using 'const' matters, but few achieve it - even std library methods rarely use it for immutable arguments, so if I try to use const I end up casting to non-const to call down.
- vinkelhake 12y ago> even std library methods rarely use it for immutable arguments Can you give some examples of methods in the standard library that should use const, but doesn't?