6 SomeClass_t () : x (11) {}
13 static DynamicOnly_t* create (const char* name = "UNDEF",
14 const SomeClass_t& somec = *(new SomeClass_t
16 return new DynamicOnly_t (name, somec);
18 DynamicOnly_t (const char* name, const SomeClass_t& somec) :
20 strncpy (m_Name, name, sizeof (m_Name));
27 int main (int argc, char* argv[]) {
28 DynamicOnly_t* ptr = DynamicOnly_t::create ();