Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Question / Issue about Vector
Re: Question / Issue about Vector [message #12841 is a reply to message #12831] Wed, 21 November 2007 00:24 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 826
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
BTW: what about std::vector and your own allocator?
If you, for whatever reason, use the container API extensively enough to make this worth of effort.
(I didn't use stdlib extensively enough to be sure, but I think all the standard containers allow to use your own allocators?? Maybe I'm wrong.)

I always liked classic pointer and arrays more than those complex templates, but in PHP in connection with "foreach" I started to appreciate them a little bit. Still whenever I know enough about my array (i.e. fixed size, fixed type, small scope of code using it), I prefer classic [] array without that additional fuss and burden around. Usually in new code I don't know enough, and flexibility of vector allows better refactoring and earlier bug catching.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Juste simple question ~
Next Topic: Bug in Core06.cpp or in U++ Core value types tutorial
Goto Forum:
  


Current Time: Sun Apr 27 22:23:38 CEST 2025

Total time taken to generate the page: 0.01115 seconds