Thread overview | |||||
---|---|---|---|---|---|
|
September 13, 2003 Future directions - templates | ||||
---|---|---|---|---|
| ||||
Hi, I am a template-addict form the C++ camp and curios about what direction D templates will take. Now that we can pass integer values as template parameters; are there other new features for templates coming up? erik |
September 13, 2003 Re: Future directions - templates | ||||
---|---|---|---|---|
| ||||
Posted in reply to Erik Baklund | "Erik Baklund" <Erik_member@pathlink.com> wrote in message news:bjurag$jll$1@digitaldaemon.com... > I am a template-addict form the C++ camp and > curios about what direction D templates will take. > Now that we can pass integer values as template parameters; > are there other new features for templates coming up? I think explicit instantiation is holding them back from their true potential. Yes, it'll make the compiler a little harder to write, but it would be so worth it. Walter, I know you have personal reasons for not liking implicit instantiation, but what are the technical reasons behind that? Sean |
September 14, 2003 Re: Future directions - templates | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | > I think explicit instantiation is holding them back from their true potential. Yes, it'll make the compiler a little harder to write, but it would be so worth it.
Agreed. foreach cannot be the totality of our collections, and to have a truly effective template based D-STL we'll need implicit instantiation.
|
Copyright © 1999-2021 by the D Language Foundation