June 28, 2004 C++ source and D question | ||||
---|---|---|---|---|
| ||||
in the "Spirit of C" article on the C++ Source http://www.artima.com/cppsource/spiritofc3.html there is a template for gcd(m,n) without types and an Editor's note that "this is essentially how templates work in the D language". Walter, was that note due to you? Can someone explain in more detail what it means? -Ben |
June 28, 2004 Re: C++ source and D question | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | "Ben Hinkle" <bhinkle4@juno.com> wrote in message news:cbo23j$28h6$1@digitaldaemon.com... > in the "Spirit of C" article on the C++ Source > http://www.artima.com/cppsource/spiritofc3.html > there is a template for gcd(m,n) without types and an Editor's note that > "this is essentially how templates work in the D language". Walter, was > that note due to you? No. > Can someone explain in more detail what it means? I think the comment is incorrect <g>. |
Copyright © 1999-2021 by the D Language Foundation