3 ms·
In C++, how can I make a member function default parameter depend on this?
- seeknotfind 3y agotl;dr: use overloads, and add more functions with numbers to the end of your function to differentiate overloads if you need to: "add0" "add1". This is the type of solution only a beginner or expert would come up with. I love it, Raymond. You deliver as always.