On 06/18/2013 03:34 PM, Pieter Hintjens wrote: > "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"
Only the first is correct. See: http://c-faq.com/ansi/constptrconst.html http://www.parashift.com/c%2B%2B-faq-lite/const-ptr-vs-ptr-const.html _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
