1.. title:: clang-tidy - misc-static-assert 2 3misc-static-assert 4================== 5 6`cert-dcl03-c` redirects here as an alias for this check. 7 8Replaces ``assert()`` with ``static_assert()`` if the condition is evaluable 9at compile time. 10 11The condition of ``static_assert()`` is evaluated at compile time which is 12safer and more efficient. 13