xxxxxxxxxx
struct Config
{
int a;
string b;
void help() nothrow {}
string errorName = "foo";
}
void main()
{
import core.internal.parseoptions, std.stdio;
string args = "a=42 b=foo";
Config conf;
conf.parseOptions(args);
conf.writeln;
}