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 » Community » Coffee corner » Raise Exception instead of ASSERT for container
Raise Exception instead of ASSERT for container [message #12035] Tue, 09 October 2007 11:03 Go to previous message
benoitc is currently offline  benoitc
Messages: 17
Registered: July 2007
Location: Nice (France)
Promising Member
Hi All,

I think that it will be better (at least for me) to let container raising an exception during out of bound access (like in Java) instead of an assert.

Today we need to check index before any access to array element and thus we cannot easily use double indirection like array[i][j].

What do you think about that? Does that sound stupid?

Regards,
Benoit
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: downloadable U++ manual
Next Topic: Vista.....
Goto Forum:
  


Current Time: Sat Apr 27 10:47:59 CEST 2024

Total time taken to generate the page: 0.02278 seconds