c++ template destructors both obsolete challenging information types


in i asked formulating general container. controlling polymorphic templates seems right proceed go.



however, i can't life me figure out destructor should written. i wish owners memory allocated containers even instance constructor takes an array t (along the dimensions), allocated during point.



i means something like



mycontainer<float> blah();
...
delete blah;


and



mycontainer<complexobjecttype*> complexblah();
...
delete complexblah;`


can i something this? i but intelligent pointers?



again, interjection your input.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?