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

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

grails record upload problems

how i emanate permitted url asp.net mvc?