Opened 17 years ago

Closed 15 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.

Attachments (0)

Change History (1)

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

Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ralf W. Grosse-Kunstleve.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.