I consider that a different problem (if it is a problem).
For C and C++, I'd like to have an alternative address-of operator that takes the address of an object, and treats the result as a pointer to const.
/ Niels Möller (med röd bil)
Previous text:
2003-05-13 15:06: Subject: Re: Pointers/lvalues
For good or bad, the similar situation
mapping m = ([ "x" : 17 ]); foo(x); write("%d\n", m->x);
does not give the same guarantee. This is of course not an argument to ruin the present guarantees for the basic types. There have been some more or less patological cases doing that sort of thing in Roxen, but from my recollection it was most abused before the new RXML parser was introduced. (I would not stake anything on that, though. :)
/ Johan Sundström (folkskådare)