dmd 2.063 beta 5

Dicebot m.strashun at gmail.com
Thu May 23 08:06:00 PDT 2013


On Thursday, 23 May 2013 at 14:56:14 UTC, Rory McGuire wrote:
> On Thu, May 23, 2013 at 4:42 PM, Dicebot <m.strashun at gmail.com> 
> wrote:
>
>> something I may have actually used in real code writing a 
>> low-level
>> networking library:
>
> ...
>>
>
> default template argument would sort that out wouldn't it?

a) at the cost of unneeded template bloat
b) it requires to know your argument at compile-time. What if you 
packet construction is based on some text configuration file?


More information about the Digitalmars-d-announce mailing list