3 ms·
Oh tricky! I did write that code on my phone so hopefully you'll excuse the sloppiness. Thanks to HN I have miraculously learned a new thing about C++ when I wa
by saynsedit 10y ago
Oh tricky! I did write that code on my phone so hopefully you'll excuse the sloppiness. Thanks to HN I have miraculously learned a new thing about C++ when I was sure I knew it all; though, not surprised.
Also this dependent name behavior of static_assert seems to be a precedent for always checking static_assert in constexpr if.