This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 11761: aa.byKey and aa.byValue are not forward ranges.
The problem is that Phobos' `isForwardRange` template requires that `.save` must be `@property`, otherwise it does not acknowledge the range as a forward range; however, aa.byKey and aa.byValue's `.save` weren't marked as such. This PR fixes this problem and introduces a unittest to ensure the forward range criteria are satisfied.
- Loading branch information
H. S. Teoh
committed
Aug 14, 2014
1 parent
3ed62d6
commit 36736e4
Showing
2 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters