Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Vector Wapper
View Single Post
Old 11-09-2009, 08:54 PM   #3 (permalink)
encryption
Registered Member
 
Join Date: Sep 2009
Posts: 48
encryption is on a distinguished road
Thumbs up will find out, plus added remaining constructors

I'll check out the performance metrics you asked about and post the results.

Also, I added the remaining constructors. Here is all the constructor prototypes:

PHP Code:
- (id)init;
- (
id)initWithVSize:(NSInteger)vSize;
- (
id)initWithVSizeAndVal:(NSInteger)vSize val:(NSInteger)value;
- (
id)initCopyhVector:(Vector *)vec;
- (
id)initWithRange:(NSInteger *)first last:(NSInteger *)last
My class has 5 constructors whereas the C++ STL only has 4. This is because I am not sure how, if possible, to make the value parameter optional. Therefor, I have one that just requires a size and another that requires both size and value. So, it's really the same.

Thanks,

Nick Powers
encryption is offline   Reply With Quote
 

» Advertisements
» Online Users: 562
11 members and 551 guests
chrisfromnz, Domele, jon01, matt2009, minglei, skiril, skrew88, SLIC, st02197, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,319
Threads: 93,988
Posts: 402,409
Top Poster: BrianSlick (7,978)
Welcome to our newest member, st02197
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:35 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.