aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2ctf.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-09-29 21:19:36 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-12 16:05:15 +0100
commitd9dfd7ad3e0196f60a3fc6df6d65a40fb905409f (patch)
tree55bf8c78372edea5c5bf0cccecacd06b537d4b07 /gcc/dwarf2ctf.c
parent8226f6383a347371490897dba0383a7bc7082374 (diff)
downloadgcc-d9dfd7ad3e0196f60a3fc6df6d65a40fb905409f.zip
gcc-d9dfd7ad3e0196f60a3fc6df6d65a40fb905409f.tar.gz
gcc-d9dfd7ad3e0196f60a3fc6df6d65a40fb905409f.tar.bz2
libstdc++: Improve diagnostics for misuses of output iterators
This adds deleted overloads so that the errors for invalid uses of std::advance and std::distance are easier to understand (see for example PR 102181). libstdc++-v3/ChangeLog: * include/bits/stl_iterator_base_funcs.h (__advance): Add deleted overload to improve diagnostics. (__distance): Likewise.
Diffstat (limited to 'gcc/dwarf2ctf.c')
0 files changed, 0 insertions, 0 deletions