Note that there are some explanatory texts on larger screens.

plurals
  1. USNathan Ernst
    primarykey
    data
    text
    plurals
    1. COAlso, @Neil, I upvoted your very first comment. ;)
      singulars
    2. CO@Neil, in my experience, mathematicians, engineers and physicists often make far superior developers and architects as they tend to (but not always) understand the problems at hand better than a comp scientist. They tend to have better inherent design and analysis skills than a CS specialist. I've also observed better reach-out to standard libraries than immediately suffering from NIHS. In fact, one of the best programmers I've ever known came from a philosophy background. The above code aside, your blanket statement is rather bigoted and unjustified in this context.
      singulars
    3. CO@Mark, I don't find this entry to be very clear. 23.3.6.2.2 of C++0X FCD is clearer: Effects: A directive that informs a vector of a planned change in size, so that it can manage the storage allocation accordingly. After reserve(), capacity() is greater or equal to the argument of reserve if reallocation happens; and equal to the previous value of capacity() otherwise. Reallocation happens at this point if and only if the current capacity is less than the argument of reserve(). If an exception is thrown other than by the move constructor of a non-CopyConstructible type, there are no effects.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload