Something like "static if(fileExists!"config.d") mixin(import("config.d")) else ...".Thoughts?Regards - Cherry-- static if(__traits(compiles, import("config.d"))) { // import/parse/mixin } else { // default here } -- May be wrapped into a template for more convenience.
I thought that too... And then, when I tried, SURPRISE, it doesn't work :S
