On Tuesday, 2 July 2024 at 16:46:11 UTC, Jonathan M Davis wrote:
On Tuesday, July 2, 2024 1:23:42 AM MDT ryuukk_ via Digitalmars-d-learn wrote:
I said it 2 times already, i don't want string concatenation, i'll benchmark later, but not right now, right now i'm looking for a functioning code without string concatenation

D has two options for mixins, and both of them require complete statements.

Not a huge deal, but you forgot about the third option—mixin types—which does not require a complete statement: https://dlang.org/spec/type.html#mixin_types
            • Re: Why... ryuukk_ via Digitalmars-d-learn
              • Re:... drug007 via Digitalmars-d-learn
              • Re:... monkyyy via Digitalmars-d-learn
              • Re:... Dennis via Digitalmars-d-learn
              • Re:... ryuukk_ via Digitalmars-d-learn
              • Re:... Jonathan M Davis via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... Lance Bachmeier via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... ryuukk_ via Digitalmars-d-learn
              • Re:... IchorDev via Digitalmars-d-learn
              • Re:... Stefan Koch via Digitalmars-d-learn
              • Re:... IchorDev via Digitalmars-d-learn
              • Re:... Stefan Koch via Digitalmars-d-learn
  • Re: Why does this mixin fail ... cc via Digitalmars-d-learn

Reply via email to