Although for this case I can think of a workable solution, to create some
kind of wrapper functions(only in bindings) which return *iterator by
adding:
classB = mb.class_( 'B' )
classB.add_declaration_code("A getA( B& b ){ vector< A >::iterator iter =
b.begin(); return *iter ;}")
classB.add_regi
Hi,
I am facing some problem in exposing iterator, for this I have created a sample
problem(to communicate this problem)
#include
#include
using namespace std;
class A
{
};
typedef vector< A > vectorA;
class B
{
public:
typedef vectorA::iterator iter;
iter begin()
{
return this->aVect.
Hi,
I am facing some problem in exposing iterator(using pyplusplus), for this I
have created a sample problem(to communicate this problem)
#include
#include
using namespace std;
class A
{
};
typedef vector< A > vectorA;
class B
{
public:
typedef vectorA::iterator iter;
iter begin()
{
r