Hi All,
I am beating my head against the wall trying to figure out how to make
this work.
I have a map which contains a string as the key and I want the data to
be a pointer_to_binary_function, but at the time of map definition, I
don't know the types. So really the map contains a templatized
pointer_to_binary_function. When I actually add to the map is where I
know the types of the binary function.
Adding to the map:
mMap.insert("test", ptr_fun(not_equal_to<int>));
Fails with: error: expected promary-expression before ')' token
I am at a loss here.
Thanks
Glenn