On Jul 18, 2012, at 1:22 , Jean-Daniel Dupas wrote:

> Just a though, but isn't it possible to define yourself a template function 
> to do that ? 
> 
> something like 
> 
> template<class C>
> static inline C bridge_cast(void *ptr) { return (__bridge C)ptr;  }

Hey, that's kinda cool! I think that might work.

-- 
Rick


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to