News

and then copying it to the internal array (1 copy), like the example above I want to construct an add() function which utilizes placement new so I don't incur the extra copy, but have no idea how.
You can invoke any virtual function on those instances. I used the C++11 initialization using {}s, the range based for loop to step through the array, and auto to allow the compiler to ...