Skip to content

Fix ci/windows#8

Open
ssoelvsten wants to merge 20 commits intomasterfrom
fix-ci/windows
Open

Fix ci/windows#8
ssoelvsten wants to merge 20 commits intomasterfrom
fix-ci/windows

Conversation

@ssoelvsten
Copy link
Copy Markdown
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