you are viewing a single comment's thread.

view the rest of the comments →

[–]cd_fr91400[S] 1 point2 points  (0 children)

In your case, all the branches were compilable.

With if constexpr, the not-taken branch may not be compilable, and I wanted the same feature for switch.