Skip to content

PBS-20 feature: Update project to use c++23 (part 2)#154

Merged
percona-ysorokin merged 1 commit into
Percona-Lab:mainfrom
percona-ysorokin:cxx_standard_23_code_improvements
Jun 17, 2026
Merged

PBS-20 feature: Update project to use c++23 (part 2)#154
percona-ysorokin merged 1 commit into
Percona-Lab:mainfrom
percona-ysorokin:cxx_standard_23_code_improvements

Conversation

@percona-ysorokin

Copy link
Copy Markdown
Collaborator

https://perconadev.atlassian.net/browse/PBS-20

More c++23 improvements:

  • removed 'util::to_underlying()' - use 'std::to_underlying()' instead
  • using 'std::byteswap()' instead of 'boost::endian::little_to_native()' now.

Please note that 'std::move_only_function' still cannot be used as it hasn't been implemented in 'libc++'.

Fixed some include header guards names that did not follow naming conventions. Fixed some typos.
Fixed some GitHub link references in the source code comments.

https://perconadev.atlassian.net/browse/PBS-20

More c++23 improvements:
* removed 'util::to_underlying()' - use 'std::to_underlying()' instead
* using 'std::byteswap()' instead of 'boost::endian::little_to_native()' now.

Please note that 'std::move_only_function' still cannot be used as it hasn't been
implemented in 'libc++'.

Fixed some include header guards names that did not follow naming conventions.
Fixed some typos.
Fixed some GitHub link references in the source code comments.
@percona-ysorokin percona-ysorokin merged commit 560764c into Percona-Lab:main Jun 17, 2026
8 checks passed
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