
11 Jul
2005
11 Jul
'05
1:01 p.m.
How can I work this out? I've tried with auto_ptr<object> but its copy-constructor is explicit and didnt worked anyway. (MSVC71). What I wanted is a vector of variant<object1, object2> and I dont want object1 and object2 to be copied because it is expensive. But Im not figuring out how to do this... tried boost::ref either with no success... :/ Any information is appreciated, thanks in advance, Felipe. -- Felipe Magno de Almeida Developer from synergy and Computer Science student from State University of Campinas(UNICAMP). Unicamp: http://www.ic.unicamp.br Synergy: http://www.synergy.com.br "There is no dark side of the moon really. Matter of fact it's all dark."