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(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
Hi,
> In this case the class indeed noncopyable.
I could not get this because, in my example program which I send earlier,
there is a function
CallResult getCallResult()
{
Simple si;
return CallResult(SUCCESS, si);
}
Temporary object is created in return statement and hence it
Hi,
>mb = module_builder_t( ... )
>mb.class_(...).noncopyable = False
This does not works in my case.
Example code is:
enum CallStatus
{
SUCCESS = 423,
FAILURE = 764
};
template
struct CallResult
{
public:
CallResult(CallStatus const callStatus)
: status(callSt