From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2003-02-19 11:38:22
"Ken Hagan" <K.Hagan_at_[hidden]> writes:
| Peter Dimov wrote:
| > &k does not exist yet at compile-time (in a pointer to int form), when
| > templates are instantiated.
| It doesn't have to. We're instantiating a template, not calling a
| function, so if "&k" has the type "pointer to thread-local int" then
| the compiler knows that and can instantiate the appropriate code.
The issue here is the *value* "&k", not the type of that expression.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk