Re:Clay: A new language for generic programming (based on LLVM)
by kssreeram on Monday July 26, 2010 @09:28AM
(#1547947)
Hi. Pointers to type T have the type Pointer[T]. '&' operator is for getting the address of a lvalue, and the '^' operator is for dereferencing. '^' is a better choice than C's '*' for dereferencing because, I can conveniently use the same operator for dereferenced field-access too, whereas C had to invent another operator "->" for that.
[ Parent
| on HN ]
There are no comments on this comment yet.