>You can't put runtime assert in constexpr function.
As of C++17 you can: http://en.cppreference.com/w/cpp/error/assert
You can also throw exceptions in constexpr functions since C++14.
As of C++17 you can: http://en.cppreference.com/w/cpp/error/assert
You can also throw exceptions in constexpr functions since C++14.
No comments yet.