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

Add CLinkAddress concept #116

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

linksplatform-sweepai[bot]
Copy link
Contributor

Description

This PR adds the CLinkAddress concept to the cpp/Platform.Interfaces/ directory. The CLinkAddress concept checks if the argument is integral and unsigned.

Summary

  • Created a new file cpp/Platform.Interfaces/CLinkAddress.h to define the CLinkAddress concept.
  • Included the <concepts> and <type_traits> libraries.
  • Defined the Platform::Interfaces namespace.
  • Defined the CLinkAddress concept that takes a single template argument T.
  • Used std::is_integral and std::is_unsigned type traits to check if T is both integral and unsigned.

Fixes #113.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

  • Leave a comment below to get Sweep to edit the entire PR
  • Leave a comment in the code will only modify the file
  • Edit the original issue to get Sweep to recreate the PR from scratch

@linksplatform-sweepai linksplatform-sweepai bot added the sweep Sweep your software chores label Sep 20, 2023
@FreePhoenix888 FreePhoenix888 merged commit 4f2492d into main Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep Sweep your software chores
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: Add CLinkAddress concept
1 participant