-
Notifications
You must be signed in to change notification settings - Fork 771
Harmonize spacing for template headers. #1278
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
Conversation
Rebased. |
This looks good to me. |
All checks have failed! How many more checks could one fail? |
There's only one check, and it's the check-whitespace check, apparently preventing trailing whitespace. |
Let's try again. |
I imagine this PR would need some rebasing, but I'm not sure if we want a monolithic commit here. @zygoloid, how would you like to approach this? |
source/algorithms.tex
Outdated
@@ -555,13 +555,13 @@ | |||
BidirectionalIterator first, | |||
BidirectionalIterator last, | |||
Predicate pred); | |||
template <class InputIterator, class OutputIterator1, | |||
template<class InputIterator, class OutputIterator1, | |||
class OutputIterator2, class Predicate> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line and those like it need to have their alignment fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. I've scriptified the search and found a few pre-existing misalignments, too. Fixed.
The difference between one commit per file and one commit in total seems inconsequential to me from a review perspective. I'm fine with letting the change author make that call. |
Rebase? |
This needs more than a rebase. I also need to review all the alignments (see @zygoloid's comment). |
Use 'template<class T>'. Also remove space between two closing template brackets.
Rebased (in fact, re-done) and misalignments fixed. |
Use
template<class T>
.Also remove space between two closing template brackets in [lib].
Leave [temp] unchanged, intentionally showing a variety of styles.
Fixes #53.