| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…dependencies for algorithms and conversion layers Signed-off-by: FrozenlemonTee <1115306170@qq.com>
…eval Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
…mports Signed-off-by: FrozenlemonTee <1115306170@qq.com>
…ionality Signed-off-by: FrozenlemonTee <1115306170@qq.com>
… type limits handling Signed-off-by: FrozenlemonTee <1115306170@qq.com>
There was a problem hiding this comment.
This PR introduces an algorithms module layer (starting with limits and hash) and refactors existing modules to consume this shared “value metadata” API instead of directly using std::numeric_limits, with new basic tests to validate behavior for built-in and custom underlying types.
Changes:
Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file| File | Description |
|---|---|
| tests/basic/algorithms/limits/test_limits.cpp | Adds unit tests for algorithms::limits on builtin + custom underlying types. |
| tests/basic/algorithms/hash/test_hash.cpp | Adds unit tests for algorithms::hash/hash_value on builtin + custom underlying types. |
| tests/basic/CMakeLists.txt | Adds basic_algorithms_tests suite and includes it in basic_tests dependencies. |
| src/primitives.cppm | Re-exports the new mcpplibs.primitives.algorithms module from the umbrella module. |
| src/operations/invoker.cppm | Replaces std::numeric_limits usage with algorithms limit queries for overflow/shift checks. |
| src/conversion/underlying.cppm | Replaces std::numeric_limits usage with algorithms limit queries in risk/cast logic. |
| src/algorithms/limits.cppm | Introduces algorithms::limits and {min,lowest,max,epsilon,infinity,quiet_nan}_value APIs. |
| src/algorithms/hash.cppm | Introduces algorithms::hash, hashable, and hash_value, including an underlying-type adapter. |
| src/algorithms/algorithms.cppm | Adds the mcpplibs.primitives.algorithms aggregator module exporting hash + limits. |
| .agents/docs/plans/implementation-plan.md | Updates internal implementation plan with clarified layering/dependency direction. |
Sorry, something went wrong.
…ed hashing functionality Signed-off-by: FrozenlemonTee <1115306170@qq.com>
| Back | FazBrowse Home | New Git URL |
No description provided.