|
From: | Ethan Eade |
Subject: | Re: [libcvd-members] libcvd/cvd gl_helpers.h |
Date: | Tue, 08 May 2007 16:39:25 +0100 |
User-agent: | Thunderbird 2.0.0.0 (X11/20070326) |
Putting global variables (statics) inside a template causes the compiler to make it a weak symbol, so that only one instance is created at link time. It's a way of declaring globals/statics in header-only libraries.BTW, what's <LIFT> for?
- Ethan
[Prev in Thread] | Current Thread | [Next in Thread] |