[C++-sig] [Py++] Indexing suite 2: missing methods
Roman Yakovenko
roman.yakovenko at gmail.com
Sat Feb 13 20:05:57 CET 2010
On Sat, Feb 13, 2010 at 5:41 PM, peoro <peoro.noob at gmail.com> 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.
It is provided.
> Is this a feature or a bug? And in the former case, how would I be
> supposed to get a set's size? explicitly exposing a `size' function
> for it?
Did you try len( x )?
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the Cplusplus-sig
mailing list