Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 31,513 of 33,346    |
|    Seungbeom Kim to nmm1@cam.ac.uk    |
|    Re: Using the STL for scientific program    |
|    01 Oct 11 15:36:01    |
      From: musiphil@bawi.org              On 2011-09-30 11:10, nmm1@cam.ac.uk wrote:       >       >> a lot of std::vector (internally), std::pair,       >       > But do those really help compared with rolling your own? My point is       > not that they don't work, but what practical benefits they convey.       >       > When writing classes that needed vectors, I discovered that using       > std::vector didn't simplify the code significantly over ordinary       > arrays/pointers or provide significant extra checking. It does free       > space when writing a simple vector declaration and using exceptions to       > jump out, but that's about all I found.              Then is new[]/delete[] your preferred choice?       What benefits does it bring, and why would you prefer it to std::vector?              >> IO streams for outputs (IO manipulators),       >       > Are they really a help compared to |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca