aboutsummaryrefslogtreecommitdiff
path: root/gcc/target-hooks-macros.h
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2024-12-24 12:29:02 +0100
committerArsen Arsenović <arsen@gcc.gnu.org>2024-12-27 12:29:42 +0100
commit5a41ab8da087617d785f563b76f5c2fd6600b4c0 (patch)
tree1417f28d7e37dd1bd0b9e260b67669cf6a54ba22 /gcc/target-hooks-macros.h
parent4731ead79fac259258dbb027090f3d085f518040 (diff)
downloadgcc-5a41ab8da087617d785f563b76f5c2fd6600b4c0.zip
gcc-5a41ab8da087617d785f563b76f5c2fd6600b4c0.tar.gz
gcc-5a41ab8da087617d785f563b76f5c2fd6600b4c0.tar.bz2
libstdc++: don't implicit-construct _Yielded_decvref [PR118022]
This overload requires constructible_from<remove_cvref_t<yielded>, const remove_reference_t<yielded>&> ... but then tries to construct remove_cvref_t<yielded> implicitly, which means it imposes an additional constraint not in the standard. libstdc++-v3/ChangeLog: PR libstdc++/118022 * include/std/generator (_Promise_erased::yield_value(const _Yielded_deref&)): Don't implicit-constuct _Yielded_decvref. * testsuite/24_iterators/range_generators/pr118022.cc: New test.
Diffstat (limited to 'gcc/target-hooks-macros.h')
0 files changed, 0 insertions, 0 deletions