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 » How to respond when memory is exceeded
Re: How to respond when memory is exceeded [message #61096 is a reply to message #61093] Mon, 18 November 2024 05:24 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
I see.

Now the question is: if a programmer opt to use memory allocation allocation utility provided by the language or standard libary, is an std::bad_alloc exception guaranteed to be thrown and able to be caught afterwards? Or similar thing will happen that a supposed-to-be successfully-allocated memory fails when trying to write to it later and no mechanism to catch the memory exception exists?



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NoMemoryLeaksCheck undefined symbol
Next Topic: Doubt with Buffer<> of a trivially destructible type
Goto Forum:
  


Current Time: Tue Aug 26 17:18:38 CEST 2025

Total time taken to generate the page: 0.05372 seconds