title: How to define const getters for djinni?
body: <p>I define a C++ interface with <em>djinni</em>:</p>
  
  <pre><code>member = interface +c {
      get_id(): string;
      get_name(): string;
  }
  </code></pre>
  
  <p>My inherited implementation uses const getters, i.e.</p>
  
  <pre><code>class MyMemeber: public Member {
    private:
      string id;
      string name;
    public:
      string get_id() const override { return id; }
      string get_name() const override { return name; }
  }
  </code></pre>
  
  <p>This obviously fails to compile, because of <code>const</code> attribute. Can I teach <em>djinni</em> to generate the base interface with const getters, too?</p>