I mean these ones

    int arrayGetLength() const;
    void arrayAdd(Object &&elem);
    void arrayRemove(int i);
    Object arrayGet(int i, int recursion) const;
    const Object &arrayGetNF(int i) const;


and same for dict/stream.

It is weird because we want them to be inline and to do that we need to have 
them on the headers, but for it to work properly they need to be on Array.h 
instead of Object.h

They also confuse some of tooling, for example Qt Creator says "Array.h:36:10: 
In included file: main file cannot be included recursively when building a 
preamble
Object.h:606:10: error occurred here"

And it's not like they are saving us much typing
  arrayGetLength()
turns into
  getArray()->getLength()


What do you think?

Cheers,
  Albert


Reply via email to