[Python-Dev] Opinions on const-correctness? (original) (raw)
Juergen Hermann Juergen Hermann" <j.her@t-online.de
Wed, 13 Mar 2002 19:57:01 +0100
- Previous message: [Python-Dev] Opinions on const-correctness?
- Next message: [Python-Dev] Opinions on const-correctness?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 13 Mar 2002 08:31:50 -0500, David Abrahams wrote:
Am I missing something? Admittedly, I'm not intimately familiar with what the 'C' committee did to the library when they introduced const to=
the language.
They fixed it, leaving intentional warts like that strchr() takes a const char* and returns a char*, in order to not break existing code.
My original intention was to do exactly that to the (public, most often used) Python interface.
Ciao, J=FCrgen
- Previous message: [Python-Dev] Opinions on const-correctness?
- Next message: [Python-Dev] Opinions on const-correctness?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]