are mixin string templates with functions removed?
H. S. Teoh
hsteoh at quickfur.ath.cx
Thu Aug 1 10:45:32 PDT 2013
On Thu, Aug 01, 2013 at 07:12:51PM +0200, John Colvin wrote:
> On Thursday, 1 August 2013 at 17:09:07 UTC, JS wrote:
> >If I have a bunch of templates that are only used for code
> >generation, are they removed in the binary(since they are not
> >needed)?
>
> templates don't exist in binaries.
Templates are like cookie molds, you use them to generate lots of
(almost) identical cookies, but you never serve the mold to the
customer. ;-)
T
--
He who does not appreciate the beauty of language is not worthy to bemoan its flaws.
More information about the Digitalmars-d-learn
mailing list