AtomPePacker
AtomPePacker copied to clipboard
Static local variable are not supported
Static variable cannot be initialized:
class Test {
public:
Test() {
printf("Test:Test\n");
}
~Test() {
printf("Test:~Test\n");
}
};
int main()
{
static Test tt;
std::cout << "Hello World!\n";
return 0;
}
output: Hello World!,doesn't have "Test:Test"