Function for compile-time evaluation.