optional (_Optional_base::_M_get): Check precondition.
authorMarc Glisse <marc.glisse@inria.fr>
Tue, 16 May 2017 12:54:16 +0000 (14:54 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Tue, 16 May 2017 12:54:16 +0000 (12:54 +0000)
commit2c27a627a31034165af6c01e07a69d867010fbbd
tree4dbdb0b7f129e5b9df2321eb95875e368a5e7e23
parent322763f5df41223003720e8333c011b953bc1b4f
optional (_Optional_base::_M_get): Check precondition.

2017-05-16  Marc Glisse  <marc.glisse@inria.fr>

* include/std/optional (_Optional_base::_M_get): Check precondition.
* testsuite/20_util/optional/cons/value_neg.cc: Update line numbers.

From-SVN: r248099
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/optional
libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc