-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unintended shallow copying when used with std::views::take (issue…
… 261) (#263) * Fix for issue 261 Enables `view` concept on `generator` so that lvalue references cannot be accepts by `std::views:take`, which in turn would lead to erronious behavior. * Added a test case to check std::ranges:view concept, just like std::generator
- Loading branch information
1 parent
3e8a735
commit d4a5515
Showing
2 changed files
with
35 additions
and
1 deletion.
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