#include
#include
#include <cmath>
#include <iostream>
using namespace boost::lambda;
using namespace std;
int main(){
cout << (bind(fabs,(_1-_2)))(2,3) << endl;
//to print the abs diff of 2 arguments
}
First of all, doesn't fabs have several overloads?