On May 31, 2011, at 10:32 AM, Dan Cook (dancook) wrote:
>>> Trying to use ssqls::field_count in initializer produces errors like
>> this
>>> ./test/qssqls.cpp:56:1: error: pasting "test" and "::" does not give
>> a
>>> valid preprocessing token
>>
>> I haven't looked at the rest of your patch yet, but this is what I
>> meant by my admission that I was obviously on drugs when I initially
>> discussed this. You don't want to use the token pasting operator (##)
>> here at all. Just say NAME::field_count.
>
> Was there a patch committed for this?
No, I was waiting for Adrian to take another pass at it, to get rid of the last *_NULL
stuff. I believe the fix is trivial. Maybe you want to take a shot at it instead?