Opened 17 years ago

Closed 16 years ago

#14 closed Feature Requests (Out of Date)

Support for static data members

Reported by: squan Owned by: Ralf W. Grosse-Kunstleve
Milestone: Component: python USE GITHUB
Version: None Severity:
Keywords: Cc:


It is not possible to expose a C++ class' static
data members to Python.

Trying something like

class foo {
  static float bar;


foo_class.def_read_write(&foo::bar, "foobar");

will give a compile error.

Change History (1)

comment:1 Changed 16 years ago by Ralf W. Grosse-Kunstleve

Status: assignedclosed
Note: See TracTickets for help on using tickets.