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.
|
module abstractfactory.thincrustdough;
|
|
|
|
import abstractfactory.dough;
|
|
|
|
class ThinCrustDough : Dough
|
|
{
|
|
override string toString() const @safe pure nothrow
|
|
{
|
|
return "Thin Crust Dough";
|
|
}
|
|
|
|
string opBinary(string op : "~")(string s)
|
|
{
|
|
return (cast(Object)this).toString() ~ s;
|
|
}
|
|
}
|