Date: Thu, 26 Nov 2026 13:22:56 +0100
> IMO "other than the callsite" is not minor, it trivializes "generic over
> is-constant-expression?"
> Or, depends how you understand details of what is proposed,
>
I didn't mean it in a derogatory way, my bad.
Thanks for providing the relevant proposal, I did not realize this would
have further implications for overload resolution.
Other than that, the constexpr and consteval function parameters described
in the proposal seem very reasonable if the feature is justified.
One caveat over "std::cw" is that forwarding functions should be modified
to always take in "constexpr" arguments as I understand, and old functions
would not be magically updated. It is always nice to have language suport
rather than template magic, however.
Miguel
> is-constant-expression?"
> Or, depends how you understand details of what is proposed,
>
I didn't mean it in a derogatory way, my bad.
Thanks for providing the relevant proposal, I did not realize this would
have further implications for overload resolution.
Other than that, the constexpr and consteval function parameters described
in the proposal seem very reasonable if the feature is justified.
One caveat over "std::cw" is that forwarding functions should be modified
to always take in "constexpr" arguments as I understand, and old functions
would not be magically updated. It is always nice to have language suport
rather than template magic, however.
Miguel
Received on 2026-11-26 12:23:09
