>Roman can you tell me how could I get pyplusplus version 1.1. I have tried
using "svn co" but the >latest version that is checking out it only 1.0.0
>I tried with below cvs command
>svn co https://pygccxml.svn.sourceforge.net/svnroot/pygccxml pygccxml
>and
>svn co http://pygccxml.svn.sourceforg
I don't understand why do you struggle. The "exposed via an indexing
suite" method allows you to modify and iterate over the list using the
well defined and documented protocol. If you need to use:
Thanks Roman, Now I am able to use the functionality of list (although not
all like pop() but I use
On Thu, May 6, 2010 at 10:24 AM, vishal bayskar
wrote:
>
> Actually I need to extract the item present in the list, so I am trying to
> use methonds of list (just for an example I tried push_back in the below
> example).
I don't understand why do you struggle. The "exposed via an indexing
suite"
Actually I need to extract the item present in the list, so I am trying to
use methonds of list (just for an example I tried push_back in the below
example).
vishal bayskar wrote:
>
>>Both indexing suites provides interface very similar to Python
>>containers. So the user will not have to lea
>Both indexing suites provides interface very similar to Python
>containers. So the user will not have to learn new API, but if you
>insists, you can rename/introduce new method from Python
>AList.push_back = AList.append
But object Alist is not treated as a list and giving the below error.
>>>
On Wed, May 5, 2010 at 2:20 PM, vishal bayskar
wrote:
>
>>There is no need to expose std containers directly. Instead, expose
>>declarations that are using them and Py++ will do the rest.
>
>>mb.free_function( 'getDummyAlist' ).include()
>
>>This topic is covered in the following document:
>>http:
>There is no need to expose std containers directly. Instead, expose
>declarations that are using them and Py++ will do the rest.
>mb.free_function( 'getDummyAlist' ).include()
>This topic is covered in the following document:
>http://language-binding.net/pyplusplus/documentation/containers.html
On Wed, May 5, 2010 at 1:19 PM, vishal bayskar
wrote:
>
> Actually I am able create wrapper code for list . All the functions of list
> are exposed.
> But when I try to compile it (try to create shared library) it showing below
> error
> ...
> mb=module_builder.module_builder_t(["./listP.cpp"],
>
Actually I am able create wrapper code for list . All the functions of list
are exposed.
But when I try to compile it (try to create shared library) it showing below
error
---
testModule.cpp:11: error: _Alloc was not declared in this scope
testModule.cpp:18: error: _Tp was not declared in