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

allocator concept requirements #26

Merged
merged 1 commit into from
Jul 11, 2024
Merged

allocator concept requirements #26

merged 1 commit into from
Jul 11, 2024

Conversation

jxy-s
Copy link
Collaborator

@jxy-s jxy-s commented Jul 9, 2024

Implements rad::AllocatorRequires and static asserts in usage paths. This requirement institutes that Radiant allocators:

  • Destruction does not throw.
  • Copying does not throw.
  • Moving does not throw.
  • Freeing memory does not throw.

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.13%. Comparing base (11f033f) to head (864d4cf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   90.13%   90.13%           
=======================================
  Files          18       18           
  Lines        1977     1977           
  Branches      257      257           
=======================================
  Hits         1782     1782           
  Misses         13       13           
  Partials      182      182           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jxy-s jxy-s merged commit 52dd6a2 into main Jul 11, 2024
11 checks passed
@jxy-s jxy-s deleted the allocator-requirements branch July 11, 2024 00:13
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