Boost logo

Boost Users :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2005-07-11 08:01:02


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."

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net