callmeFilip / Thinking-in-CPP-Volume-1-2nd-Edition

Homework and Classwork repository
0 stars 0 forks source link

Chapter_13 Task_14 #264

Open callmeFilip opened 3 years ago

callmeFilip commented 3 years ago

Create a class with a placement new with a second argument of type string. The class should contain a static vectorwhere the second new argument is stored. The placement new should allocate storage as normal. In main( ), make calls to your placement new with string arguments that describe the calls (you may want to use the preprocessor’s FILE and LINE macros).