Re: [C++-sig] ArgumentError when use the shared_ptr

2009-01-27 Thread David Abrahams
on Tue Jan 27 2009, ZaeX wrote: > Thanks, Roman. It solved the problem. > Can't believe this '&' takes me two days. Using T const& as a parameter would've worked too. The thing to remember with Boost.Python is that a T& parameter has a very special meaning: there has to be a T hanging around i

Re: [C++-sig] ArgumentError when use the shared_ptr

2009-01-27 Thread ZaeX
Thanks, Roman. It solved the problem. Can't believe this '&' takes me two days. On Tue, Jan 27, 2009 at 4:26 PM, Roman Yakovenko wrote: > 2009/1/27 ZaeX : > > Hi, c++-sig: > > > > I got a problem involving shared_ptr here, > > according to some threads here I believed it should be solved by > > i

Re: [C++-sig] ArgumentError when use the shared_ptr

2009-01-27 Thread Roman Yakovenko
2009/1/27 ZaeX : > 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.

[C++-sig] ArgumentError when use the shared_ptr

2009-01-26 Thread ZaeX
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 + pyt

[C++-sig] ArgumentError when use the shared_ptr

2009-01-26 Thread ZaeX
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 + pyt