Use Compile-Time Constexpr If
This runtime if can be removed at compile-time.
If size<2>(tCrA) is known at compile-time, this will already be elided by the compiler.
The only thing this does is require that it is known at compile-time, which may be attractive but is certainly overly restrictive.
@leimao, is this fixing a failure you were seeing? If so, please elaborate. If not, the recommendation would be to allow the compiler to do its thing with the code as-is which is slightly more flexible.
This PR has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. This PR will be labeled inactive-90d if there is no activity in the next 60 days.
This PR has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates.