xxxxxxxxxx
import std.format;
struct IpV4Address
{
private uint ip;
alias ip this;
void toString(W,Char)(W sink, FormatSpec!Char fmt)
{
//sink(fmt.spec); // ERROR
sink("s"); // OK
}
}
void main()
{
IpV4Address x;
assert( format("%s", x) == "s");
}