10 lines
170 B
D
10 lines
170 B
D
|
module abstractfactory.veggies;
|
||
|
|
||
|
interface Veggies
|
||
|
{
|
||
|
string opBinary(string op : "~")(string s) const
|
||
|
{
|
||
|
return (cast(Object)this).toString() ~ s;
|
||
|
}
|
||
|
}
|