[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libcvd-members] libcvd/cvd gl_helpers.h

From: Ethan Eade
Subject: Re: [libcvd-members] libcvd/cvd gl_helpers.h
Date: Tue, 08 May 2007 16:39:25 +0100
User-agent: Thunderbird (X11/20070326)

BTW, what's <LIFT> for?

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.

- Ethan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]