On Sat, Feb 13, 2010 at 5:41 PM, peoro <peoro.n...@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/
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to