On 12/27/2011 11:50 AM, so wrote:
If C++ or Java (or what have you) had support for string as template parameters, string lambdas probably would be irreplaceable to many.|"a % 2"| |a => a % 2| Still it is shorter.
I know.Unfortunately, the C/C++ text preprocessor has left such a bad taste in peoples' mouths that anything even remotely suggestive of it has an "ick" factor that it is hard to get past.