Skip to content
Commit 236ffdee authored by Richard Smith's avatar Richard Smith
Browse files

P0962R1: only use the member form of 'begin' and 'end' in a range-based

for loop if both members exist.

This resolves a DR whereby an errant 'begin' or 'end' member in a base
class could result in a derived class not being usable as a range with
non-member 'begin' and 'end'.

llvm-svn: 342925
parent 44ecb0e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment