20 Jan
2006
20 Jan
'06
5:23 p.m.
"Merrill Cornish" wrote
Andy,
I _think_ I may know why concatenation is working like it is.
I believe the purpose of the ## concatentation operator is to cause one symbol (i.e., letters, numbers, underscore) to be created out of two symbols. Since the result of the concatenation that you specified is _not_ a legal symbol, the preprocessor appears to have made a best guess at what should be done rather than flag an error.
'pp-number e sign' is a valid pre-processing sequence isnt it?. Its pretty cruel whatever it is. :-( I will try posing the question on comp.std.c++. If any one has a workaround for it I'd be interested to hear it. Thank for the input Andy Little