Such functions are known as strongly pure, and the return value of a strongly pure function is implicitly castable to immutable.
  • cast(string) for... Vindex9 via Digitalmars-d-learn
    • Re: cast(st... user1234 via Digitalmars-d-learn
      • Re: cas... H. S. Teoh via Digitalmars-d-learn
        • Re:... H. S. Teoh via Digitalmars-d-learn
      • Re: cas... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
    • Re: cast(st... Nick Treleaven via Digitalmars-d-learn
    • Re: cast(st... Kagamin via Digitalmars-d-learn
      • Re: cas... Kagamin via Digitalmars-d-learn
        • Re:... Vindex9 via Digitalmars-d-learn
          • ... Jonathan M Davis via Digitalmars-d-learn
          • ... Vindex9 via Digitalmars-d-learn

Reply via email to