|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Strawman Event type, enabling polymorphism. More...
#include <events.hpp>
Public Member Functions | |
| virtual | ~AnyEvent ()=default |
Strawman Event type, enabling polymorphism.
This class is abstract, and should never actually be created.
Therefore an observer must not store a reference or pointer to an event (or to anything it returns by reference) past the return of Observe(). If you need to keep data, copy it out by value inside Observe(). This is exactly what the Python observer layer does: it reads values during the call and copies them into its own storage.
|
virtualdefault |