www.digitalmars.com         C & C++   DMDScript  

D - Proposal: over(?)loading "!","#","$","?"," ",etc.. (unary and binary)

reply mosfox yandex.ru writes:
HI, what do u think about adding a possibility to overload such operators&
Thanx
Yan
Feb 08 2004
parent reply Stephan Wienczny <wienczny web.de> writes:
mosfox yandex.ru wrote:
 HI, what do u think about adding a possibility to overload such operators&
 Thanx
 Yan
 
 
! used for templates; maybe possible The rest it usused and would be nice to be overloadable. Stephan
Feb 08 2004
parent Sean Kelly <sean ffwd.cx> writes:
Stephan Wienczny wrote:
 ! used for templates; maybe possible

 The rest it usused and would be nice to be overloadable.
? is used for the if-else expression so that one's likely out. '!' is "not," I can't imagine it would be a good thing to overload that operator. What would the purpose of ' ' be? Sean
Feb 08 2004