4 ms·
Why? How is changing constness of foo different from changing return type of foo, or changing set of thrown exceptions, or argument set? Especially now that i
by 112233 1y ago
Why? How is changing constness of foo different from changing return type of foo, or changing set of thrown exceptions, or argument set?
Especially now that it is a good practice to define c++ functions like
auto f(auto &&x) -> decltype(1+x)
?