Map
Index
Random
Help
th

Quote: to prevent ambiguities, C++ operator overloading can not change precedence, change expression syntax, or define operator tokens

topics > all references > references sa-sz > QuoteRef: stroB_1991 , p. 226



Topic:
extensible languages
Topic:
generic operations and polymorphism

Quotation Skeleton

It is not possible to change the precedence … [overloaded] … [e.g., defining a binary '!' operator to override the normal unary '!' operator] … It is not possible to define new operator … [such as '**'] … These restrictions may seem Draconian, but more flexible …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: extensible languages (69 items)
Topic: generic operations and polymorphism (65 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.