bloodrun-editor/q3map2/libs/string/pooledstring.cpp
2026-04-02 20:51:01 +08:00

24 lines
No EOL
281 B
C++
Executable file

#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