title: How can I do a runtime assert in a constexpr function?
body: <p>From what I understand, a constexpr function can be executed at compile time as well as runtime, depending on if the entire evaluation can be done at compile time or not.</p>
  
  <p>However, you cannot overload this function to have a runtime and a compile time counterpart.</p>
  
  <p>So my question is, how can I put in a runtime assert to ensure that the execution of the runtime function is passed valid parameters along with my static_assert?</p>