Skip to content

[fix] Use isValid in C++14 compatible way

Timo Koch requested to merge fix/make-isvalid-c++14-compatible into master

Lambdas in constexpr are only allowed from C++17. The functions returned from isValid cannot be used in a constexpr context in C++14.

Fixes #455 (closed). Tested with clang 3.8 which doesn't support constexpr lambdas.

Edited by Timo Koch

Merge request reports