Thus spake Ralf Grosse-Kunstleve:
> 
> It looks like you inserted an extra const (I don't see it in the current
> tutorial) ...
> 
> char const * const greet() {
> 
> It should work if you remove it.

Ha! You're correct. The example program was so short that I just retyped
it, and I made the pointer const out of habit without noticing. Now all
makes sense. Thanks!
 
-- 
J.
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to