Yes, it's partially true. D has compile time function execution, i.e. it has the ability of executing functions at compile time. But such functions are required to be both portable and free of side effects.
You will find an in-depth explanation in the official documentation of the D language.