From: Steven Watanabe (steven_at_[hidden])
Date: 2007-03-01 15:35:00


AMDG

Peder Holt <peder.holt <at> gmail.com> writes:

>
> You could always use the solution we use in boost.typeof. When we
> emulate typeof support for VC compilers, we use the following trick to
> associate a unique integer with each type:
>
> <snip>
>
> It is not exactly a portable solution, though...
>
> Peder
>

And it doesn't work across translation units, which
is what we need.

In Christ,
Steven Watanabe