foot in mouth (&vector)

Bjarne Stroustrup bs at alice.UucP
Thu Jul 24 06:25:29 AEST 1986


I wrote:

> for what it is worth: In C++ it is allowed (and encourraged practice) to use the
> addressof operator & explicitly for array and function names.

Oops, cfront does not consistently accept &v as the address for a vector v.
So back to the drawing board. I was led astray by the fact the &f consistently
works when f is a function.



More information about the Comp.lang.c mailing list