This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Having iterator and const_iterator in enumerable did not make much sense since enumerable is in itself a front for a sequence. It would've been trivial to copy the enumerable to access the non-const methods. So now enumerable only has an iterator and begin and end are both const methods. If you want const, use enumerable<const foo> (added a new as_const method to simplify this).
- Loading branch information
1 parent
dfbe935
commit 75742f6
Showing
2 changed files
with
37 additions
and
83 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