Re:The C++14 Standard: What You Need to Know
by JoeAltmaier on Wednesday September 17, 2014 @10:07AM
(#8330001)
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.
[ Parent
| on HN ]
Re:The C++14 Standard: What You Need to Know
by vinkelhake on Wednesday September 17, 2014 @10:13AM
(#8330043)
> 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?