Richard Levitte - VMS Whacker wrote:
> 
> From: Ben Laurie <[EMAIL PROTECTED]>
> 
> ben> This is why I said what we have is really a mutable, but you can't say
> ben> that in C (its a C++ concept). But the central point is that having
> ben> "const" in an API is a promise not to modify the parameter - its
> ben> completely pointless to make that promise and then break it!
> ben> Furthermore, doing so will (potentially) result in incorrect code being
> ben> generated by the compiler. I simply don't see why it is elegant to claim
> ben> that something is const when it is not!!
> 
> What is your suggestion we do?  (I think I've asked for suggestions a
> number of times now, and even laid out the alternatives as I saw them)

BTW, Bodo mentioned that dup_expand was dupping regardless of whether it
expands - if so, that'll slow it down a lot, I'd guess. Did you fix
that?

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to