Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] seqan3::views::single_pass_input::iterator::operator++(int) must return void (real cxx20 std::input_iterator) #2775

Merged
merged 7 commits into from
Aug 24, 2021

Conversation

marehr
Copy link
Member

@marehr marehr commented Aug 23, 2021

No description provided.

@marehr marehr requested review from a team and MitraDarja and removed request for a team August 23, 2021 13:33
@vercel
Copy link

vercel bot commented Aug 23, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/seqan/seqan3/D3Qk2REEawttzBfFdy48hzFR52Va
✅ Preview: https://seqan3-git-fork-marehr-clang03-seqan.vercel.app

@codecov
Copy link

codecov bot commented Aug 23, 2021

Codecov Report

Merging #2775 (d9b0405) into master (76c4508) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2775      +/-   ##
==========================================
- Coverage   98.37%   98.37%   -0.01%     
==========================================
  Files         272      272              
  Lines       10884    10881       -3     
==========================================
- Hits        10707    10704       -3     
  Misses        177      177              
Impacted Files Coverage Δ
...clude/seqan3/io/views/detail/take_exactly_view.hpp 98.33% <ø> (ø)
include/seqan3/io/views/detail/take_until_view.hpp 98.11% <ø> (ø)
include/seqan3/utility/views/single_pass_input.hpp 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76c4508...d9b0405. Read the comment docs.

@MitraDarja MitraDarja requested review from a team and eseiler and removed request for a team August 24, 2021 14:32
Copy link
Member

@eseiler eseiler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a commit to change the documentation (and resolved some conflict with renaming)

@eseiler eseiler enabled auto-merge August 24, 2021 18:16
marehr and others added 7 commits August 24, 2021 20:40
…t return void (real cxx20 std::input_iterator)

https://github.com/rrahn/seqan3/blame/939bea75ab00f254ac0c172506f761a2ff6f51eb/include/seqan3/range/view/single_pass_input.hpp#L262-L272

added this change; it is broken, because the semantic of output_iterator can't be fulfilled
`*it++ = value` should have the same semantic as `*i = value; ++i`, but it currently has `++i; *i = value`.
…st return void (real cxx20 std::input_iterator)
…st return void (real cxx20 std::input_iterator)
…st return void (real cxx20 std::input_iterator)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants