0 or 0L for empty pointers?
Scott Wheeler
wheeler at kde.org
Fri Jun 23 13:55:21 BST 2006
On Friday 23 June 2006 14:18, Frans Englich wrote:
> You mean separating the implementation? To put the implementation for a
> member in a template class outside the class definition? That seems to work
> just fine with a couple of gcc versions.
It was a joke -- the C++ spec allows for template definitions to be in a
different compilation unit, but pretty much no compiler supports that.
-Scott
--
diff -u life.cpp~ life.cpp
--- life.cpp~ 2002/03/19 07:44:28
+++ life.cpp 2002/04/09 15:49:39
-#include <sleep.h>
+#include <caffeine.h>
More information about the kde-core-devel
mailing list