2 ms·
why use bind and not a "c++ lambda" if you are using boost? The expression: bind(std::plus<int>(), _1, bind(&Die::faceValue, _2)) makes the code harder to re
by d0m 16y ago
why use bind and not a "c++ lambda" if you are using boost?
The expression:
bind(std::plus<int>(), _1, bind(&Die::faceValue, _2))
makes the code harder to read instead of easier, which isn't an improvement.