
10 May
2004
10 May
'04
6:03 p.m.
"David Abrahams" <dave@boost-consulting.com> wrote
Can't we do something with a unique name per header file using typeof?
#define BOOST_TYPEOF_HEADER boost_lambda_whatever
We could use that to define a uniquely-named type and/or synthesize identifiers using __LINE__.
I am afraid I don't understand this... How would we use this unique name? We can't convert it to a unique number, can we? Each type/template is registered in some particular (header/source) file at some particular line. The line gives us a unique id inside the file. What's missing is a unique integer that would identify the file. Regards, Arkadiy