29 Nov
2007
29 Nov
'07
8:51 a.m.
chun ping wang skrev:
hmm yeah i want to be able to store them in ptr_vector<int> a3.
Since this doesn't work.. you think their would be future work around to support integeration with stl algorithms.
If you were to implement output iterators for ptr_containers, I would be happy to include it. The planned void* -> T* implementation will also make it easier to use some stl algorithms. But notice most algorithms use Copyability, something not usually supported by polymorphic types. -Thorsten