Skip to content

Conversation

@cyyever
Copy link
Contributor

@cyyever cyyever commented Sep 29, 2024

Description

Add "if constexpr" support.


📚 Documentation preview 📚: https://pybind11--5389.org.readthedocs.build/

@cyyever cyyever marked this pull request as draft September 29, 2024 14:46
@cyyever cyyever force-pushed the if_constexpr branch 9 times, most recently from 4050387 to efbd12c Compare September 29, 2024 16:03
@cyyever cyyever marked this pull request as ready for review September 29, 2024 16:07
@rwgk
Copy link
Collaborator

rwgk commented Sep 29, 2024

I'd rather not make these changes, but I'm open to other opinions.

if constexpr is a game changer as an alternative to SFINAE acrobatics.

But AFAIK it does very little or nothing for optimization purposes.

My opinion in this particular case: some extra code noise, no clear benefit.

Signed-off-by: cyy <cyyever@outlook.com>
@rwgk
Copy link
Collaborator

rwgk commented Dec 13, 2025

This is just wasting our limited CI capacity. As I commented before, I don't think this PR is worth merging.

@rwgk rwgk closed this Dec 13, 2025
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