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

Concatenates nested namespaces (capability introduced in C++17 std) #368

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

krishnakumarg1984
Copy link
Collaborator

@krishnakumarg1984 krishnakumarg1984 commented Jun 21, 2023

C++17 introduced the ability to use concatenated nested namespaces instead of hierarchical nesting of namespace blocks. This is what C++20 & beyond standards uses right within the standard library.

References:

Closes #370.

…d in C++17 std)

chore: restore doxygen comments that were accidentally deleted when concatenating namespaces
@krishnakumarg1984 krishnakumarg1984 merged commit 8df0cf1 into development Jun 23, 2023
@krishnakumarg1984 krishnakumarg1984 deleted the kg/nested_namespaces branch June 23, 2023 16:24
krishnakumarg1984 added a commit that referenced this pull request Jun 25, 2023
krishnakumarg1984 added a commit that referenced this pull request Jun 25, 2023
* development:
  feat(modernise): replaces c-style casts with static_cast< > (#374)
  feat(modernise): concatenates nested namespaces (capability introduced in C++17 std) (#368)
  chore: updates .gitignore with more ignore entries for C++/CMake
krishnakumarg1984 added a commit that referenced this pull request Jul 21, 2023
* chore(safety,perf): partial set of fixes aiming at const correctness

* chore: updates .gitignore with more ignore entries for C++/CMake

* feat(modernise): concatenates nested namespaces (capability introduced in C++17 std) (#368)

* feat(modernise): replaces c-style casts with static_cast< > (#374)

---------

Co-authored-by: Tuomas Koskela <t.koskela@ucl.ac.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modernise: Use concatenated nested namespaces instead of hierarchical nested namespaces
2 participants