
10 May
2004
10 May
'04
9:39 p.m.
"David Abrahams" <dave@boost-consulting.com> wrote
We can build a unique type and use that as one parameter to any templates we need to instantiate in this file.
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.
Not everything has to be an integer ;-)
But types/templates have to be encoded as integers in order to "return" them from the function using sizeof... Regards, Arkadiy