void main() { char *b = "test"; char* e = b + sizeof(b); string x = bind(constructor<string>(),_1,_2)(b,e); cout << x << endl; }