You can store the delegate in an array and invoke it by index.
- Delegates and C++ FFI lifetimes IGotD- via Digitalmars-d-learn
- Re: Delegates and C++ FFI lifetimes Kagamin via Digitalmars-d-learn
You can store the delegate in an array and invoke it by index.