PhobosV3+ Fundamental Elements

Walter Bright newshound2 at digitalmars.com
Thu Sep 10 22:18:48 UTC 2026


On 9/8/2026 12:32 AM, Richard (Rikki) Andrew Cattermole wrote:
> On 08/09/2026 11:30 AM, Walter Bright wrote:
>> On 9/2/2026 6:17 AM, Max Klyga wrote:
>>> The correct way is to have a generic sink, not a string builder. And 
>>> especially not a specific string builder class implementation!
>>
>> I've been slowly moving the dmd implementation towards sinks. Sinks can be 
>> generic even without templates.
> 
> Note that what Walter said here has nothing to do with delegates.

https://github.com/dlang/dmd/blob/master/compiler/src/dmd/tokens.d#L976



More information about the Digitalmars-d mailing list