Comment by WalterBright
Comment by WalterBright 2 months ago
C++'s ranges came from D, but C++ decided to construct ranges from a (begin, end) pair, which is not as good as D's design. D's ranges are constructed from a (pointer,length) pair.
Comment by WalterBright 2 months ago
C++'s ranges came from D, but C++ decided to construct ranges from a (begin, end) pair, which is not as good as D's design. D's ranges are constructed from a (pointer,length) pair.