Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: static vars and templates



On Sunday, December 22, 2002, at 02:21 PM, Yarden Livnat wrote:

Searching the archive I have found several posts about
the problem of a static var in templated code. However,
I haven't seen any answers or solutions (other then change
the code and define static vars outside the templated code.

I know of one compiler bug that involved static local
variables in function templates. That bug has been fixed
in the December 2002 Tools Release.

If you know of any bugs that haven't been fixed in that
release, please let me know.

--Matt
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >static vars and templates (From: Yarden Livnat <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.