"Ken Hagan" <[EMAIL PROTECTED]> 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. -- Gaby _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
