On Tue, Jun 18, 2013 at 1:52 PM, Emeka <[email protected]> wrote: > My little understanding of C language tells me that " const char" is only > read-only. So, why do we change the of "ellipsis"
"const char *x" => "x is a pointer to characters which are constant" "char const *x" => "x is a pointer that is constant, to characters (which may be changed)" "const char const *x" => "x is a pointer to constant characters and is itself constant" It's not the most obvious thing, and usually I don't use "const" in declarations for this reason. -Pieter _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
