|
Macaulay2 Engine
|
MutableEngineObject wrapper holding a raw SLEvaluator*. More...
#include <SLP-defs.hpp>
Public Member Functions | |
| M2SLEvaluator (SLEvaluator *pa) | |
| !! this is a hack to avoid memory corruption, it results in a memory leak | |
| SLEvaluator & | value () |
| Public Member Functions inherited from MutableEngineObject | |
| MutableEngineObject () | |
| virtual | ~MutableEngineObject () |
| unsigned int | hash () const |
| Public Member Functions inherited from our_gc_cleanup | |
| our_gc_cleanup () | |
| virtual | ~our_gc_cleanup () |
Private Attributes | |
| SLEvaluator * | mSLEvaluator |
Additional Inherited Members | |
| Static Public Member Functions inherited from our_new_delete | |
| static void * | operator new (size_t size) |
| static void * | operator new[] (size_t size) |
| static void | operator delete (void *obj) |
| static void | operator delete[] (void *obj) |
| static void * | operator new (size_t size, void *existing_memory) |
| static void * | operator new[] (size_t size, void *existing_memory) |
| static void | operator delete (void *obj, void *existing_memory) |
| static void | operator delete[] (void *obj, void *existing_memory) |
MutableEngineObject wrapper holding a raw SLEvaluator*.
Stores a raw pointer rather than unique_ptr — per the inline comment, this is a deliberate leak that avoids a heap-corruption bug triggered when ownership is transferred. value() returns the underlying abstract evaluator for engine code that needs to call evaluate / specialize directly.
Definition at line 247 of file SLP-defs.hpp.