Skip to content

feat: 2025-may post upgrade changes#55

Merged
fpelliccioni merged 1 commit intomasterfrom
feat/2025may-post-upgrade
Jun 10, 2025
Merged

feat: 2025-may post upgrade changes#55
fpelliccioni merged 1 commit intomasterfrom
feat/2025may-post-upgrade

Conversation

@fpelliccioni
Copy link
Contributor

No description provided.

@fpelliccioni fpelliccioni requested a review from Copilot June 10, 2025 13:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the endian utility after the May 2025 upgrade, adding C++23 support for byte swapping and a dedicated conversion function.

  • Added <bit> include for std::byteswap
  • Introduced to_big_endian_int(uint32_t) for native little-endian conversion
Comments suppressed due to low confidence (2)

include/kth/infrastructure/utility/endian.hpp:47

  • [nitpick] The name to_big_endian_int differs from the existing to_big_endian template. Consider adding a uint32_t specialization or renaming to align with the template API.
uint32_t to_big_endian_int(uint32_t value) {

include/kth/infrastructure/utility/endian.hpp:46

  • [nitpick] Add a brief Doxygen comment explaining the behavior and intended use of to_big_endian_int, including that it only covers 32-bit values.
constexpr uint32_t to_big_endian_int(uint32_t value)

@fpelliccioni fpelliccioni merged commit 741927f into master Jun 10, 2025
17 checks passed
@fpelliccioni fpelliccioni deleted the feat/2025may-post-upgrade branch June 10, 2025 14:02
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.

2 participants