On Thursday, 23 November 2023 at 16:33:52 UTC, DLearner wrote:
string mxnTest(string strVar1, string strVar2) {
   return `(int Var1, int Var2) {
      if (Var1 > Var2) {
         return true;
      } else {
         return false;
      }
   }(` ~ strVar1 ~ `,` ~ strVar2 ~ `)`;
}
```

This function exists at runtime. Another module could, in theory, import it and call it. A shared library could, in theory, export it. You used it at compile time, but the function is available for other users too.

betterC doesn't know the difference between theory and practice.

Reply via email to