Skip to content

Improve support for index operators #85

@philthompson10

Description

@philthompson10

Currently the following needs %MethodCode because the returned value is a reference:

int& operator[](int index);

This should be supported without %MethodCode and be the basis of an automatically generated implementation of __setitem__.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions