main
enum main =
q{
version (xgettext)
{
if (scan) // Prevent unreachable code warning after mixin.
{
import std.traits : ReturnType;
static if (is (ReturnType!main == void))
return;
else
return 0;
}
}
};
gettext
aliasesenumsfunctionsmanifest constantsstructstemplatesvariables
Code to be mixed in at the top of your main() function.