Tweak static assertions in std::optional
commit497d987dcafcef11224e9e027b9479a20dd01702
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 May 2017 17:13:38 +0000 (8 17:13 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 May 2017 17:13:38 +0000 (8 17:13 +0000)
treed3eba956ae78c87eda95355f4660119df9941a3a
parent5f0b0ddf7eccdd4b065a74bf0982508c3da88491
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247748 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/optional
libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc