Skip to content
Snippets Groups Projects

Unified interface for attributes

Merged Olivier BICHLER requested to merge unified_params into main
2 files
+ 5
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -183,6 +183,10 @@ private:
#ifdef PYBIND
// Stores C++ attributes (copy) and Python-only attributes
// Code should be compiled with -fvisibility=hidden
// See https://pybind11.readthedocs.io/en/stable/faq.html:
// “‘SomeClass’ declared with greater visibility than the type of its
// field ‘SomeClass::member’ [-Wattributes]”
std::map<std::string, py::object> mAttrsPy;
#endif
};
Loading