libstdc++: LWG 3325 Constrain return type of transformation function for transform_view
authorPatrick Palka <ppalka@redhat.com>
Mon, 24 Feb 2020 21:21:55 +0000 (16:21 -0500)
committerPatrick Palka <ppalka@redhat.com>
Tue, 25 Feb 2020 18:04:32 +0000 (13:04 -0500)
commitec15da7c33055c37ba58cb778a4414aae49f16ba
treef8f6e536d68589d03c58f5e12891623a3657a26e
parent55c4b3f486200bcfd6c5c333754e6abb7acd470c
libstdc++: LWG 3325 Constrain return type of transformation function for transform_view

libstdc++-v3/ChangeLog:

LWG 3325 Constrain return type of transformation function for
transform_view
* include/std/ranges (transform_view): Constrain the return type of the
transformation function as per LWG 3325.
* testsuite/std/ranges/adaptors/lwg3325_neg.cc: New test.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/ranges
libstdc++-v3/testsuite/std/ranges/adaptors/lwg3325_neg.cc [new file with mode: 0644]