Is there any way in C++ to get a pointer to a built-in arithmetic operator? Something like this doesn't compile:
const auto addition = static_cast<int(*)(int, int)>(operator+);
A simple workaround of this problem is to make an auxiliary lambda:
const auto addition = +[](const int a, const int b){ return a + b; };
But is there any other solution?