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 » !USEMALLOC
!USEMALLOC [message #9130] Wed, 18 April 2007 13:24 Go to next message
piotr5 is currently offline  piotr5
Messages: 107
Registered: November 2005
Experienced Member
how does the upp-allocation work when USEMALLOC is deactivated?
I have a problem with delete[] using upp's impementation, while
new[] is not. what is the proper way for making delete[] work
correctly in DEBUG-mode? or should I avoid upp-allocation since
it isn't ready yet?
Re: !USEMALLOC [message #9141 is a reply to message #9130] Wed, 18 April 2007 21:58 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
piotr5 wrote on Wed, 18 April 2007 07:24

how does the upp-allocation work when USEMALLOC is deactivated?
I have a problem with delete[] using upp's impementation, while
new[] is not. what is the proper way for making delete[] work
correctly in DEBUG-mode? or should I avoid upp-allocation since
it isn't ready yet?


What exactly is your problem?

U++ allocator performs quite strong checking for heap corruption... If you get some failing assert in allocator, it is very likely that you have a bug in your code.

That said, allocator used in 2007.1 was rock stable for years.

(It is replaced now with for the next dev release, but the new allocator seems already rock stable too).

Mirek
Previous Topic: Value and Serialize
Next Topic: are there any sorting routines?
Goto Forum:
  


Current Time: Fri Apr 26 01:36:50 CEST 2024

Total time taken to generate the page: 0.04756 seconds