// On-Demand Test.cpp :) #include "pegshort.h" #include <vector> typedef std::vector<pegshort> vecKeys; vecKeys& GetStaticKeys() { static vecKeys s_keys; return s_kes; } class Test { public: Test() { GetStaticKeys().push_back(pegshort(3)); } } testIt;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)