I'm working on a project (settlers 2.5 return to the roots namely) which suffers some problems. I hope to be able to solve some of them by using only stl containers and bounds checking.
So is it somehow possible to use bounds-checking in STL containers also in release mode? So we could use a (less performing) version, that does them and crashes/throws on error?
The build server uses MinGW to crosscompile from linux to windows and apple.
Edit: []-operator is used exclusively. Changing to .at() would require a large search-and-replace action which got to be reversed at some point. Best would be, if there is a define or something that switches []-behaviour to .at()