Skip to content

Pump 0.4.0#21

Merged
FrozenLemonTee merged 12 commits intomainfrom
pump-0.4.0
Mar 27, 2026
Merged

Pump 0.4.0#21
FrozenLemonTee merged 12 commits intomainfrom
pump-0.4.0

Conversation

@FrozenLemonTee
Copy link
Copy Markdown
Member

No description provided.

…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>
Copilot AI review requested due to automatic review settings March 27, 2026 07:23
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.0 in both xmake and CMake.
  • Rename/export literals as mcpplibs.primitives.literals and 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.

@FrozenLemonTee FrozenLemonTee merged commit 6ff3602 into main Mar 27, 2026
3 checks passed
@FrozenLemonTee FrozenLemonTee deleted the pump-0.4.0 branch March 27, 2026 07:31
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.

2 participants