Sha256: bae8be5ab983f86ba84999c35b01ce85d0b77de5a8e1310f4331a42b6d3b96a4
Contents?: true
Size: 488 Bytes
Versions: 32
Compression:
Stored size: 488 Bytes
Contents
@import Foundation; #import <array> #include <vector> @interface IntegerArray : NSObject { std::vector<NSUInteger> _numbers; } @property(readonly) NSUInteger count; - (instancetype)initWithNumbers:(NSUInteger *)numbers count:(NSUInteger)count; - (NSUInteger)numberAtIndex:(NSUInteger)index; @end int main(int argc, char **argv) { auto numbers = std::array<NSUInteger, 3>{1, 2, 3}; NSLog(@"%@", [[IntegerArray alloc] initWithNumbers:numbers.data() count:numbers.size()]); }
Version data entries
32 entries across 32 versions & 2 rubygems