This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using C++ in GCC is OK


Mark Mitchell <mark@codesourcery.com> writes:

> Richard Guenther wrote:
>
>> Btw - can we intially just link with libsup++ omitting libstdc++ so
>> that we do not get the expected flood of convert-to-STL patches?
>> Or is the idea of an STL free gcc bad?
>
> I view STL as one of the bits of low-hanging C++ fruit.  I think we're
> all vaguely confused by the VEC APIs, for example; using std::vector
> seems much better.  And, using those kinds of things doesn't require a
> lot of knowledge of C++ arcana, even if the implementations may use some
> of that arcana.

Agreed.  In particular, we can take advantage of the cool new gdb work
to easily print vectors and other STL types in the debugger.  Dealing
with VECs in the debugger is a pain.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]