Phase 2: Make Rights header self-contained (#610) #611
No reviewers
Labels
No labels
bug
cli
core
docs
event
experiment
figure
invariant
metrics
oracle
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
provenance
revocation
tests
workload
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erikinkinen/AES!611
Loading…
Reference in a new issue
No description provided.
Delete branch "phase2/bug-610-rights-header"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task
Closes #610
Summary
Including
aes/core/rights.hppfirst failed because its C++20 spaceship operator requires<compare>, which the public header did not include. Add the direct standard-library dependency so the header no longer relies on consumer include order.Scope
One include in
core/include/aes/core/rights.hpp; Rights representation and operators are unchanged.Design intent
Make the public header self-contained. Preserve the original Phase 1 source for baseline capture; the external fixture producer explicitly supplies
<compare>when compiling against that older revision.Phase discipline
Defect discovered during P2-02 (#85), independently fixed and reviewed here.
Verification