You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Class Template - Method Template (Parent-Child pattern) Binding Generation (#286)
This is a demo PR that shows a "Parent-Child" pattern that shows an
end-to-end use case of class template instantiation, template argument
deduction and overload selection working hand in hand.
- Add templated member-function bindings for class template
specializations with overload selection and `arg_intent` support.
- Generate templated-method shims with explicit argument formatting
(array-ref/pointer handling) and intent-aware returns.
- Improve template specialization metadata and typing
(qualified/specialized names, enum NTTP names, CCCL `NullType`/opaque
fallback, quieter parse defaults).
- Add class-template unit tests and CCCL integration tests; run CCCL
tests in conda and wheels CI.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Templated-method support for class templates with per-method
argument-intent overrides
* **Improvements**
* Enum-aware rendering of template arguments
* Reduced default parsing verbosity
* Looser type deduction for opaque mappings
* More consistent qualified template-name handling
* **Tests**
* New CCCL (CUB) test suite and CI step to run it
* Expanded templated-class method tests
* **Chores**
* Updated CI/test scripts and pre-commit codespell ignores
* **Documentation**
* Added SPDX headers to third-party test modules
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Michael Wang <isVoid@users.noreply.github.com>
0 commit comments