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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Hopefully fixed "Writes to freed blocks" bug in ide - and warning (quiz)
Re: Hopefully fixed "Writes to freed blocks" bug in ide - and warning (quiz) [message #12293 is a reply to message #12290] Tue, 23 October 2007 19:45 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
mdelfede wrote on Tue, 23 October 2007 12:20

luzr wrote on Tue, 23 October 2007 18:08


No, it can resize the array if you use i >= GetCount.



Ah, ok... I wouldn't ever use it like that, it's the easy way of producing bugs....



Well, I think At is extremely effective way how to solve many problems. And similar issue existis even in the plain C

a[i++] = a[i];

it is simply something you have to care about...

Quote:


I must say that reference counted stuffs are usually small in size, so you can pass them by value with few overhead.
I did something like that some time ago and it was nice to use.



Well, yes, I think that is the "official" C++/boost path... If you like that, U++ pick_ must sound alien to you Wink

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "init" files in packages...
Next Topic: ProgessIndicator::SetColor
Goto Forum:
  


Current Time: Mon Aug 25 20:40:42 CEST 2025

Total time taken to generate the page: 0.04682 seconds