Skip to content

[REQ] Bind Standalone Member Functions #15

@GoogleCodeExporter

Description

@GoogleCodeExporter
Would it be possible to add the ability to bind a member function? There is 
already the ability for a c function like:

m->set( "c_function", SLB::FuncCall::create(c_function));

But could we have something like:

struct Foo
{
    int Bar(int a, int b) { return a*b; }
};

Foo f;
m->set( "Bar", SLB::FuncCall::create(Foo::Bar), &f);

Original issue reported on code.google.com by aa...@2ezstudios.com on 16 Feb 2012 at 4:51

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions