basic_string.h (basic_string<>::front()): Add !empty debug check.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 24 Jun 2015 20:12:05 +0000 (20:12 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 24 Jun 2015 20:12:05 +0000 (20:12 +0000)
commite25d2617ac1e70229a108106430429c95334bd63
tree4cc414e8a8978598d5aaca734f652967c806288c
parente6d6151387e551d716e5813107bd7e54bd0239e5
basic_string.h (basic_string<>::front()): Add !empty debug check.

2015-06-24  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/basic_string.h (basic_string<>::front()): Add !empty
debug check.
(basic_string<>::back()): Likewise.
(basic_string<>::pop_back()): Likewise.

From-SVN: r224919
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h