Re: [C++-sig] Enums with duplicated values.

2009-02-10 Thread Hugo Lima
On Tue, Feb 10, 2009 at 2:34 PM, David Abrahams wrote: > > on Tue Feb 10 2009, Hugo Lima wrote: > >> David, any comments about the patch? > > Please attach the patch to a Trac ticket and I'll have a look. Ok, https://svn.boost.org/trac/boost/ticket/2744 >

Re: [C++-sig] Enums with duplicated values.

2009-02-10 Thread Hugo Lima
David, any comments about the patch? On Tue, Feb 3, 2009 at 3:55 PM, Hugo Lima wrote: > On Fri, Dec 19, 2008 at 12:13 AM, David Abrahams wrote: >> >> on Wed Dec 17 2008, "Hugo Lima" wrote: >> >>> Hi; >>> >>> I need wrap enums with dupl

Re: [C++-sig] Enums with duplicated values.

2009-02-03 Thread Hugo Lima
On Fri, Dec 19, 2008 at 12:13 AM, David Abrahams wrote: > > on Wed Dec 17 2008, "Hugo Lima" wrote: > >> Hi; >> >> I need wrap enums with duplicated values, but boost::python do not >> support it. At the boost website you can find the quote: >

Re: [C++-sig] virtual functions and bind size reduction

2009-02-02 Thread Hugo Lima
On Fri, Jan 30, 2009 at 11:13 PM, Ralf W. Grosse-Kunstleve wrote: >> This apparently works fine when running in same module but if I create a >> class > >> derived from Base in another module (another library), this stop >> working because the dynamic_cast fails. > > Simple idea: is the other mod

[C++-sig] Enums with duplicated values.

2008-12-17 Thread Hugo Lima
Hi; I need wrap enums with duplicated values, but boost::python do not support it. At the boost website you can find the quote: "Scott Snyder provided a patch; Dave was dissatisfied for some reason, but maybe it should just be applied if no further action occurs http://aspn.activestate.com/ASPN/M

Re: [C++-sig] take ownership in a call policy

2008-12-12 Thread Hugo Lima
On Fri, Dec 12, 2008 at 9:48 AM, Renato Araujo wrote: > Hi guys, > > I'm creating a 2 new call_policy to my functions where I need take and > give back the ownership of my object. I would like reproduce this in > my precall or postcall function policy functions. > > http://www.boost.org/doc/libs/1