aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2024-11-27 11:59:38 -0500
committerPatrick Palka <ppalka@redhat.com>2024-11-27 11:59:38 -0500
commit56029c91dcadcfd1800614b7484d3dc82ca16dde (patch)
tree6e226f60e767a4a90e01da85360f5b6e11f333bd /gcc/rust/util
parent958f0025f41d8bd9812e4da91a72b1ad79496e5b (diff)
downloadgcc-56029c91dcadcfd1800614b7484d3dc82ca16dde.zip
gcc-56029c91dcadcfd1800614b7484d3dc82ca16dde.tar.gz
gcc-56029c91dcadcfd1800614b7484d3dc82ca16dde.tar.bz2
libstdc++/ranges: make _RangeAdaptorClosure befriend operator|
This declares the range adaptor pipe operators a friend of the _RangeAdaptorClosure base class so that the std module doesn't need to export them for ADL to find them. Note that we deliberately don't define these pipe operators as hidden friends, see r14-3293-g4a6f3676e7dd9e. libstdc++-v3/ChangeLog: * include/std/ranges (views::__adaptor::_RangeAdaptorClosure): Befriend both operator| overloads. * src/c++23/std.cc.in: Don't export views::__adaptor::operator|. Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc/rust/util')
0 files changed, 0 insertions, 0 deletions