feat: operator table transfer
This commit is contained in:
@@ -5,8 +5,12 @@
|
||||
void enzo::op::OperatorTable::addOperator(nt::opConstructor ctorFunc)
|
||||
{
|
||||
std::cout << "OPERATOR TABLE ADDED\n";
|
||||
// ctorFunc(5);
|
||||
ctorStore_.push_back(ctorFunc);
|
||||
}
|
||||
|
||||
enzo::nt::opConstructor enzo::op::OperatorTable::getOpConstructor(size_t pos)
|
||||
{
|
||||
return ctorStore_.at(pos);
|
||||
}
|
||||
|
||||
std::vector<enzo::nt::opConstructor> enzo::op::OperatorTable::ctorStore_;
|
||||
|
||||
Reference in New Issue
Block a user