STL algorithms and NSEnumerator/NSFastEnumeration
STL algorithms and NSEnumerator/NSFastEnumeration
- Subject: STL algorithms and NSEnumerator/NSFastEnumeration
- From: Kelvin Chung <email@hidden>
- Date: Sat, 29 Oct 2011 15:06:27 -0400
I have this Objective-C container which I want to use in an algorithm that only takes STL iterators. Is there a generic adapter for NSEnumerator or id<NSFastEnumeration> that will provide appropriate STL iterators?
Also, is there a way to tell the difference between two NSEnumerators (a la STL iterator difference)? Is equality defined for NSEnumerators? Is it possible to clone an NSEnumerator?
_______________________________________________
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