How do I write the following:
typedef void (^T)(void);
T f() {
return ^{};
}
without the typedef?
void (^f())(void) {
return ^{};
}
You'd better keep the typedef as the return type is not easy to understand in this form.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With