Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2004-05-10 16:39:11


"David Abrahams" <dave_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk