Re: Help with NSPointerArray and NSMapTable
"Adam R. Maxwell" <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sep 23, 2009, at 2:25 PM, Christiaan Hofman wrote: > Still what to do with NSMapTable? The docs are really weird on this > point, I'd say contradictory. Basically, they say I can use non- > object pointers, but it may not work (so I may not be able to use > them). So, then, can I use non-object pointers or can't I? Can > anyone be more specific? I can't help with that confusion, unfortunately :). The only thing I see in the docs is that you should use the C API for NSMapTable with non-object pointers. Have you thought about writing an Obj-C wrapper around STL containers (maybe std::map and std::vector?) instead of messing around with primitive types in Foundation containers? _______________________________________________ MacOSX-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-dev