Re: inference of block return type
Re: inference of block return type
- Subject: Re: inference of block return type
- From: Michael Ash <email@hidden>
- Date: Mon, 28 Jun 2010 17:41:27 -0400
On Mon, Jun 28, 2010 at 4:48 PM, Bill Bumgarner <email@hidden> wrote:
>
> On Jun 28, 2010, at 1:45 PM, Michael Ash wrote:
>
>> But I was unable to find any discussion of HOW you explicitly declare
>> the return value of a block expression.
>
> ^ <return-type> (<arg-list>) { <code>};
Sure, but is this documented in Apple's docs? The link to Blocks
Programming Topics posted by Tony Romano doesn't seem to include it,
although it alludes to its existence. That page does link to Apple's
submission to the standard committee which does show that syntax, but
it seems like the sort of thing that ought to be on apple.com too. Did
we miss it?
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden