This is the mail archive of the
mailing list for the GCC project.
Re: Using C++ in GCC is OK
Mark Mitchell <firstname.lastname@example.org> 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.