Merged
Conversation
…or C API integration Signed-off-by: FrozenlemonTee <1115306170@qq.com>
…Make and Lua scripts Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
…istency Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
…atures Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
…nd overflow behavior Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Bumps the project to v0.4.0 while reorganizing and documenting the public module surface (notably moving literals to a top-level module), plus expanding examples/tests to cover the newer conversion/algorithms APIs.
Changes:
- Bump project version to
0.4.0in both xmake and CMake. - Rename/export literals as
mcpplibs.primitives.literalsand update imports/tests/docs accordingly. - Add new examples (
ex06_conversion,ex07_algorithms) and wire literals tests into the basic test suites.
Reviewed changes
Copilot reviewed 35 out of 35 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| xmake.lua | Version bump to 0.4.0. |
| CMakeLists.txt | Version bump to 0.4.0. |
| src/primitives.cppm | Switch exported literals module to mcpplibs.primitives.literals. |
| src/literals/literals.cppm | Rename module/namespace from underlying.literals to top-level literals. |
| src/underlying/traits.cppm | Move std-underlying underlying::traits<T> specialization into the traits module. |
| src/underlying/impl.cppm | Simplify to a re-export of underlying.traits. |
| src/algorithms/limits.cppm | Narrow dependency from underlying to underlying.traits. |
| src/primitive/traits.cppm | Update underlying import to mcpplibs.primitives.underlying. |
| src/primitive/impl.cppm | Update underlying import to mcpplibs.primitives.underlying. |
| src/policy/impl.cppm | Update underlying import to mcpplibs.primitives.underlying. |
| src/operations/operators.cppm | Update underlying import to mcpplibs.primitives.underlying. |
| tests/basic/CMakeLists.txt | Add a dedicated literals basic test suite target. |
| tests/basic/literals/test_literals.cpp | Update literals module import + rename test suite. |
| examples/xmake.lua | Update example list + keep basic alias pointing to new ex01. |
| examples/CMakeLists.txt | Update example sources list (new ex06/ex07 and renumbered custom examples). |
| examples/ex01_basic_usage.cpp | New consolidated “basic usage” example replacing the old ex01. |
| examples/ex06_conversion.cpp | New conversion demo example. |
| examples/ex07_algorithms.cpp | New algorithms demo example. |
| examples/ex08_custom_underlying.cpp | Renumber header/comments to match new example ordering. |
| examples/ex09_custom_policy.cpp | Renumber header/comments to match new example ordering. |
| examples/ex10_custom_operation.cpp | Renumber header/comments to match new example ordering. |
| docs/guide/en/*.md | Update example names/order and build instructions to match 0.4.0 layout. |
| docs/guide/zh/*.md | Update example names/order and build instructions to match 0.4.0 layout. |
| docs/api/en/README.md | Document new exported modules/namespaces (literals, conversion, algorithms). |
| docs/api/zh/README.md | Document new exported modules/namespaces (literals, conversion, algorithms). |
| README.md | Update docs links and example list/order. |
| README.zh.md | Update docs links and example list/order. |
| .agents/docs/plans/implementation-plan.md | Refresh plan status and restructure remaining M1 tasks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.