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

Version Path
rouge-3.26.0 lib/rouge/demos/objective_cpp
rouge-3.25.0 lib/rouge/demos/objective_cpp
rouge-3.24.0 lib/rouge/demos/objective_cpp
rouge-3.23.0 lib/rouge/demos/objective_cpp
rouge-3.22.0 lib/rouge/demos/objective_cpp
rouge-3.21.0 lib/rouge/demos/objective_cpp
rouge-3.20.0 lib/rouge/demos/objective_cpp
rouge-3.19.0 lib/rouge/demos/objective_cpp
rouge-3.18.0 lib/rouge/demos/objective_cpp
rouge-3.17.0 lib/rouge/demos/objective_cpp
rouge-3.16.0 lib/rouge/demos/objective_cpp
rouge-3.15.0 lib/rouge/demos/objective_cpp