The following code fails to compile; it appears from the error message that the library's clear() function is not ready to act on a shared AA?

synchronized class F {

private:
    string[int] mydict;

public:
    void clear() {
        this.mydict.clear();
    }
}

void
main()
{
    auto f = new shared F();
    f.clear();
}
  • Problem with cle... Andy Valencia via Digitalmars-d-learn
    • Re: Problem... Jonathan M Davis via Digitalmars-d-learn
    • Re: Problem... Andy Valencia via Digitalmars-d-learn
      • Re: Pro... Serg Gini via Digitalmars-d-learn
        • Re:... mw via Digitalmars-d-learn
          • ... Andy Valencia via Digitalmars-d-learn
            • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to