r264422 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed Sep 19 11:20:00 GMT 2018
Author: redi
Date: Wed Sep 19 11:20:51 2018
New Revision: 264422
URL: https://gcc.gnu.org/viewcvs?rev=264422&root=gcc&view=rev
Log:
Don't use __glibcxx_assert to check class invariants
Assertions should be used to check preconditions that users must meet,
not to check whether the implementation is correct.
* include/bits/regex_automaton.tcc (_StateSeq<_TraitsT>::_M_clone()):
Remove __glibcxx_assert statements and use map::find instead of
map::operator[].
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/regex_automaton.tcc
More information about the Libstdc++-cvs
mailing list