Skip to content

Use C++17 type traits - #1397

Merged
AntoinePrv merged 1 commit into
xtensor-stack:masterfrom
AntoinePrv:type-traits-17
Aug 9, 2026
Merged

Use C++17 type traits#1397
AntoinePrv merged 1 commit into
xtensor-stack:masterfrom
AntoinePrv:type-traits-17

Conversation

@AntoinePrv

Copy link
Copy Markdown
Contributor

No description provided.

@AntoinePrv

Copy link
Copy Markdown
Contributor Author

@serge-sans-paille any objection here?


template <class A, class T>
XSIMD_INLINE batch<T, A> avg(batch<T, A> const& x, batch<T, A> const& y, std::false_type, std::true_type) noexcept
else

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

man do I love if constexpr

@AntoinePrv
AntoinePrv merged commit 2b09e97 into xtensor-stack:master Aug 9, 2026
87 checks passed
@AntoinePrv
AntoinePrv deleted the type-traits-17 branch August 9, 2026 13:28
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