Le 14-05-2007, Paul Pluzhnikov <[EMAIL PROTECTED]> a écrit : > Marc Boyer <[EMAIL PROTECTED]> writes: > >> is there a way to ask g++ to give the semantics of >> vector::at() (ie checking bounds) to vector::operator[] >> in some 'debug mode'. > > For recent versions of g++ (3.4.0 and above), -D_GLIBCXX_DEBUG > finds this error (and many others):
Thank you very much. Marc Boyer _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus