In the common case of converting an ExecutorAddr to a function pointer type, this eliminates the need for the '(*)' boilerplate to explicitly specify a function pointer. E.g.: auto *F = A.toPtr<int(*)()>(); can now be written as auto *F = A.toPtr<int()>();
2.2 KiB
2.2 KiB