3 ms·
Yes, this is already done. But that's not the more interesting part of the feature. Once you require something to be const, you can use it in contexts that requ
by steveklabnik 6y ago
Yes, this is already done. But that's not the more interesting part of the feature. Once you require something to be const, you can use it in contexts that require something to be const. Inferring it in non-const contexts is less powerful.