This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Target-specific Front-Ends? (Was: front end changes for altivec)
On Tue, Nov 27, 2001 at 12:48:00PM -0800, Ira Ruben wrote:
> It was precisely that reason why 'vector' was made a context
> sensitive type id and not a unconditional keyword. Doing it that way
> allowed it to be used in that type context while still allowing class
> vector to work or the use of 'vector' in any other way.
Has anybody tried
#include <vector>
std::vector<vector int> foo;
yet? Or with the backwards-compat header
#include <vector.h>
vector<vector int> foo;
I could see the first possibly working, but the second is almost certain
to break.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams