aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-call-cdce.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-08-20 13:13:25 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-08-20 13:13:25 +0100
commitb655b8fc7eb4af02231fa0105dddd90a8cfceea1 (patch)
tree61b04ddfbf6feee972e4760ea6d713ca97f7e9aa /gcc/tree-call-cdce.c
parent285ee4d029d29c3baebfc6715249c9724e5f83d1 (diff)
downloadgcc-b655b8fc7eb4af02231fa0105dddd90a8cfceea1.zip
gcc-b655b8fc7eb4af02231fa0105dddd90a8cfceea1.tar.gz
gcc-b655b8fc7eb4af02231fa0105dddd90a8cfceea1.tar.bz2
Refactor std::optional SFINAE constraints
* include/std/optional (_Optional_payload): Use variable templates for conditions in default template arguments and exception specifications. (optional): Likewise. Adjust indentation. (optional::__not_self, optional::__not_tag, optional::_Requires): New SFINAE helpers. (optional::optional): Use new helpers in constructor constraints. * include/std/type_traits (__or_v, __and_v): New variable templates. * testsuite/20_util/optional/cons/value_neg.cc: Change dg-error to dg-prune-output. Remove unused header. From-SVN: r263657
Diffstat (limited to 'gcc/tree-call-cdce.c')
0 files changed, 0 insertions, 0 deletions