> Yes, you can wrap a delete like this:
proc delete[T](val : ptr T ) : void {.importcpp:"delete #".}
RunThank you for your reply. This is useful and not obvious for newcomers. Documentation should be updated to clarify this common use case.
