This repository has been archived on 2022-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
patterns/abstractfactory/sauce.d

9 lines
165 B
D
Raw Normal View History

2022-11-13 00:59:35 +00:00
module abstractfactory.sauce;
interface Sauce
{
string opBinary(string op : "~")(string s) const
{
return (cast(Object)this).toString() ~ s;
}
}