Bruno Haible <[EMAIL PROTECTED]> writes:

> What is the level of C++ that "new developers" need to master, in order to
> understand the code in general and to fix bugs in average areas?

I don't know.  I think we will have to find out.

I expect that we will find it appropriate to use STL containers, as in
  for (Type::iterator p = container.begin(); p != container.end(); ++p)

I expect we will find it appropriate to use simple class inheritance,
as in
  class Target
  {
    virtual bool handle_option(size_t, const char*, int)
    { return true; }
  };

  class Target_i386 : public Target
  {
    bool handle_option(size_t code, const char* arg, int value)
    {
      ...
    };
  };

When it comes to fixing bugs, I doubt that any special C++ knowledge
will be required at all.  When it comes to writing the code in gcc's
compilation passes, it will pretty much all be C.  Anybody patient
enough to understand the uses of the tree and RTL data structures can
certainly understand C++.

Ian

Reply via email to