|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Refreshed genx.h, plus some plans
> Hah! I didn't know that, but I suspected that it couldn't actually be
> useful. Thank you. -Tim
Well, one word in favor.
David points out that the implementation cannot stop the implementor
from doing a cast and breaking the guarantee, so he doesn't like const.
On the other hand, he expects the implementor to do the right thing
without for putatively-const values.
I don't get it. Why not at least set things up so that (a) those
who get their documentation from the header file know what's going
on; and (b) those who want to break the rules will at least be forced
to "admit" (via const-cast) that they are doing so.
But hey, do what you want. Just know that I think David's opinion
here is the most incorrect thing I've heard him say. :)
/r$
--
Rich Salz Chief Security Architect
DataPower Technology http://www.datapower.com
XS40 XML Security Gateway http://www.datapower.com/products/xs40.html
XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








