Skip to content

[Type] Array/Vec: small refresh for modern C++#5907

Open
fredroy wants to merge 5 commits intosofa-framework:masterfrom
fredroy:modernize_arrays
Open

[Type] Array/Vec: small refresh for modern C++#5907
fredroy wants to merge 5 commits intosofa-framework:masterfrom
fredroy:modernize_arrays

Conversation

@fredroy
Copy link
Contributor

@fredroy fredroy commented Jan 29, 2026

using std algos, clamp, etc and some keywords noexcept.

and fixed_array_algo, removing some useless templates

and some (generated but modified) unit tests for vec ,as there were almost none ? 🤔

Note that fixed_array_algo is only used in RGBAColor, at least in the standard code base.

[with-all-tests]


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@fredroy fredroy added pr: status to review To notify reviewers to review this pull-request pr: clean Cleaning the code pr: test PR adding test(s) in SOFA labels Jan 29, 2026
@fredroy
Copy link
Contributor Author

fredroy commented Jan 29, 2026

[ci-build][with-all-tests]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: clean Cleaning the code pr: status to review To notify reviewers to review this pull-request pr: test PR adding test(s) in SOFA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants