Compile time check

Loki file: static_check.h