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 ci/windows #8

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Fix ci/windows #8

wants to merge 20 commits into from

Conversation

SSoelvsten
Copy link
Owner

Test PR for thomasmoelhave#257

@SSoelvsten SSoelvsten force-pushed the fix-ci/windows branch 2 times, most recently from d5e85ff to be1add4 Compare September 22, 2023 19:12
There are many small things here, that unecessarily adds to the mental
complexity of the codebase. Yet, I see no need to keep it as such to save
sligthly on diskspace.

- Made all comments align with column 80 (most were aligned with 65, but not
  consistently so)

- Place `{` bracket for all class and function scope-openings on their own line.
  Furthemore, if the function is short, add whitespace around `{` and `}` to
  make it easier to identify.

- Place inheritance and member initialization list on its own line. This makes
  it (1) more clearly separated from the rest and (2) better respects the column
  limit of the remaining code.

- Add vertical whitespace between member functions to better convey what goes
  together.

- Enforce each line has at most a single statement.

- Make all classes follow the same ordering between *friend*, *variables*,
  *operators*, *constructors*, and so on.

- Add empty documentation comment as separator between functions.

- Add missing documentation comments for `tpie::packed_array`
This workaround is not necessary anymore for newer versions of Visual Studio
Microsoft's standard library assumes that a const version of
tpie::packed_array::iterator and similar only are immutable with respect to the
index, not the value in said index. That is, they assume the iterator reflects a
'T* const' semantics, whereas the prior version implemented a 'const T* const'
semantics."
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.

1 participant