Skip to content

Accessing public class variables #90

@snirgaz

Description

@snirgaz

Is it possible to access public class variables without manually writing get and set methods?
For reference -- ".def_readwrite" in pybind11 allows using the "dot" syntax "A.a".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions