Hi, c++-sig:

I got a problem involving shared_ptr here,
according to some threads here I believed it should be solved by
implicitly_convertible,
however after many tries, I still cannot make it work. although this problem
may look old, I really need your help or hint.
My environment is WinXP + python 2.5.4 + boost1.36

class A
{
    std::vector<int> vec;
public:

    A(boost::shared_ptr<A>& ptr) :vec(ptr->vec)
    {}
    std::vector<int>& GetV(){return vec;}
};


-- 
Time is mana, we must hurry
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to