[dmd-internals] Type-checked arrays!

Walter Bright walter at digitalmars.com
Tue Jul 5 17:15:09 PDT 2011



On 7/5/2011 4:46 PM, Michel Fortin wrote:
>
> Well, now that I know I can change it to a template.
>
> When I asked a mid-June on this list, I did not get an answer. I decided to go take the most conservative route and not use any C++ feature not already in use elsewhere in the code.
>
> If you say it's okay to use templates then I'll make the change, it's no big deal. I agree it'd be a little cleaner that way, although with typedefs it won't change things much.
>

I originally did not use templates because g++ at the time did a terrible job 
with them. This has gotten much better now.


More information about the dmd-internals mailing list