Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#Actuallightxbulb

Posted 31 May 2013 - 12:43 PM

It just seems silly being able to do this:

int someArray[] = {3, 5 -17};
vector <int> someVector(someArray, someArray + sizeof(someArray) / sizeof(int));

 

and not this:

vector<int> someVector = {3, 5, -17};

#1lightxbulb

Posted 31 May 2013 - 12:42 PM

It just seems silly being able to do this:

int someArray[] = {3, 5 -17};
vector <int> someVector(someArray, someArray + sizeof(someArray) / sizeof(int));

 

and not this:

vector<int> someVector = {3, 15, -7};

PARTNERS