On my computer, the following code
int i = 5;
int j = std::abs(i);
raises the warning "Values of type 'long' may not fit into the receiver type 'int'. However, there is an int-valued abs function (http://en.cppreference.com/w/cpp/numeric/math/abs), so why is CLion raising this warning? Thanks for the help!