Skip to content

Reuse ValueIndexPair alias in ValueStringHashes#605

Open
staging-devin-ai-integration[bot] wants to merge 1 commit intomainfrom
evalon/blaze-reus-3ee6181e
Open

Reuse ValueIndexPair alias in ValueStringHashes#605
staging-devin-ai-integration[bot] wants to merge 1 commit intomainfrom
evalon/blaze-reus-3ee6181e

Conversation

@staging-devin-ai-integration
Copy link

Reuse ValueIndexPair in ValueStringHashes alias

Summary

Replaced the duplicated std::pair<std::size_t, std::size_t> type inside ValueStringHashes with the existing ValueIndexPair alias in src/evaluator/include/sourcemeta/blaze/evaluator_value.h.

This keeps the type definition DRY and makes related index-pair usage consistent across evaluator value aliases.

Review & Testing Checklist for Human

  • Confirm ValueIndexPair is intentionally the exact semantic/type match for the second element of ValueStringHashes (not just structurally equivalent today).
  • Verify the alias change is header-only and does not alter ABI/API expectations beyond readability/maintainability.
  • (Optional quick validation) Re-run make configure compile && make locally if you want independent confirmation of formatting/build/test status.

Notes

Co-Authored-By: bot_apk <apk@cognition.ai>
@staging-devin-ai-integration
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants