Tweak static assertions in std::optional
authorJonathan Wakely <jwakely@redhat.com>
Mon, 8 May 2017 17:13:38 +0000 (18:13 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 8 May 2017 17:13:38 +0000 (18:13 +0100)
commit9057edd30c40ea77707650699f38734eb949b7d6
treed3eba956ae78c87eda95355f4660119df9941a3a
parent7574e4584518301fca1c3b088063e63964001f53
Tweak static assertions in std::optional

* include/std/optional: Use a separate static_assert per condition.
* testsuite/20_util/optional/cons/value_neg.cc: Update dg-error line
numbers.

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