Re: [C++-sig] why does the "shared_ptr const&" silently become 0xCCCCCCCC

2009-03-10 Thread Roman Yakovenko
2009/3/11 ZaeX : > Hi, All: > > I used a "shared_ptr const&" to store a ref of A in B; > Well, the constructor of B seems ok, the share_ptr seems to be well > initialized; > but after the constructor, I found the the pointer silently become > 0x > > / bel

[C++-sig] why does the "shared_ptr const&" silently become 0xCCCCCCCC

2009-03-10 Thread ZaeX
Hi, All: I used a "shared_ptr const&" to store a ref of A in B; Well, the constructor of B seems ok, the share_ptr seems to be well initialized; but after the constructor, I found the the pointer silently become 0x / below are the simplified class defin

Re: [C++-sig] boost::python without exceptions?

2009-03-10 Thread Stefan Seefeld
Murray Cumming wrote: Is there any version of the boost::python API that doesn't use exceptions? I have an environment that disables exceptions in the C++ compiler, but I'd like to use boost::python there. You may compile boost with exceptions disabled, and see how far you get. Regards,

[C++-sig] boost::python without exceptions?

2009-03-10 Thread Murray Cumming
Is there any version of the boost::python API that doesn't use exceptions? I have an environment that disables exceptions in the C++ compiler, but I'd like to use boost::python there. -- murr...@murrayc.com www.murrayc.com www.openismus.com ___ Cpluspl