feat: working operatorDef transfer

This commit is contained in:
parker
2025-07-13 17:39:52 +01:00
parent db5da8a2e8
commit 34a1df859a
4 changed files with 11 additions and 6 deletions

View File

@@ -8,3 +8,5 @@ void enzo::op::OperatorTable::addOperator(nt::opConstructor ctorFunc)
// ctorFunc(5);
ctorStore_.push_back(ctorFunc);
}
std::vector<enzo::nt::opConstructor> enzo::op::OperatorTable::ctorStore_;

View File

@@ -8,8 +8,9 @@ namespace enzo::op
class BOOST_SYMBOL_EXPORT OperatorTable
{
public:
void addOperator(nt::opConstructor ctorFunc);
static void addOperator(nt::opConstructor ctorFunc);
private:
std::vector<nt::opConstructor> ctorStore_;
static std::vector<nt::opConstructor> ctorStore_;
};
}