git-svn-id: svn://svn.icculus.org/netradiant/trunk@1 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
rpolzer
2008-09-13 18:28:57 +00:00
commit 107765f0e4
1687 changed files with 438695 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