--- Comment #3 from Steven Schveighoffer <> 2010-11-22 
10:11:55 PST ---
const is transitive, so if you imagine a FILE having this structure:

struct FILE
   int fd;
   ubyte[] buffer;

Now, if FILE is const, then buffer is const(ubyte[]), so how does fprintf write
to that buffer?

What you are looking for is head-const (the variable cannot change, but
everything it points to can), which has some good uses, but does not exist in

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to