LWN.net Logo

Quote of the week

Quote of the week

Posted Dec 10, 2004 5:16 UTC (Fri) by mbp (subscriber, #2737)
In reply to: Quote of the week by elanthis
Parent article: Quote of the week

<em>If operator overloading is considered evil, is it *really* that hard to just add some scripts (or sparse enhancements) to raise hell about them?</em>

Yes.

Writing a sufficiently correct parser for C++ that understands the interactions between all the language features is much harder than writing one for C. Indeed I think you cannot do anything useful with just a parser alone (as for C), since that won't catch problems that come up during template expansion (I think.)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds