This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Phase 1 of gcc-in-cxx now complete
>
> All that above said - do you expect us to carry both vec.h (for VEC in
> GC memory) and std::vector (for VECs in heap memory) (and vec.h
> for the alloca trick ...)? ?Or do you think we should try to make the GTY
> machinery C++ aware and annotate the standard library (ick...)?
Since the containers have mostly standard iterators, i'm not sure we
have to do much to the standard library. Simply require a set of
iterators with the right properties exist and generate code that
depends on this.
If you make your own container, you have to implement the iterators.