added missing files

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@28 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
spog
2006-02-28 19:19:16 +00:00
parent 55b14badf1
commit cb67131f78
2 changed files with 134 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#include "pooledstring.h"
#include "generic/static.h"
#if defined(_DEBUG)
namespace ExamplePooledString
{
void testStuff()
{
PooledString< LazyStatic<StringPool> > a, b;
a = "monkey";
b = "monkey";
a = "";
}
struct Always
{
Always()
{
testStuff();
}
} always;
}
#endif