Re: [C++-sig] [Py++] Indexing suite 2: missing methods

2010-02-15 Thread Roman Yakovenko
On Mon, Feb 15, 2010 at 1:30 PM, peoro wrote: > On Sun, Feb 14, 2010 at 8:39 PM, Roman Yakovenko >> Can you create small and complete example? ( C++ code, Py++ script and >> Py++ generated code )? >> >> Thanks >> > > Sure: > > # main.cpp > #include > std::set f( ) { >        return std::set()

Re: [C++-sig] [Py++] Indexing suite 2: missing methods

2010-02-15 Thread peoro
On Sun, Feb 14, 2010 at 8:39 PM, Roman Yakovenko wrote: > On Sun, Feb 14, 2010 at 6:22 PM, peoro wrote: >> On Sat, Feb 13, 2010 at 8:05 PM, Roman Yakovenko >> wrote: >>> Did you try len( x )? >>> >> >> Yes, I tried and it isn't working. >> ... >> I've been trying with SVN revisions 1814 and 1824

Re: [C++-sig] [Py++] Indexing suite 2: missing methods

2010-02-14 Thread Roman Yakovenko
On Sun, Feb 14, 2010 at 6:22 PM, peoro wrote: > On Sat, Feb 13, 2010 at 8:05 PM, Roman Yakovenko > wrote: >> Did you try len( x )? >> > > Yes, I tried and it isn't working. > ... > I've been trying with SVN revisions 1814 and 1824. Can you create small and complete example? ( C++ code, Py++ scri

Re: [C++-sig] [Py++] Indexing suite 2: missing methods

2010-02-14 Thread peoro
On Sat, Feb 13, 2010 at 8:05 PM, Roman Yakovenko wrote: > On Sat, Feb 13, 2010 at 5:41 PM, peoro wrote: >> Hello, >> I noticed that some Py++ traits for standard containers are missing a >> few methods that I think would be needed. >> For example `set_traits' (container traits for `std::set') is

Re: [C++-sig] [Py++] Indexing suite 2: missing methods

2010-02-13 Thread Roman Yakovenko
On Sat, Feb 13, 2010 at 5:41 PM, peoro wrote: > Hello, > I noticed that some Py++ traits for standard containers are missing a > few methods that I think would be needed. > For example `set_traits' (container traits for `std::set') is missing > `method_len' that,  in my opinion, should be provided