Thread overview | |||||
---|---|---|---|---|---|
|
February 08, 2004 Proposal: over(?)loading "!","#","$","?","@",etc.. (unary and binary) | ||||
---|---|---|---|---|
| ||||
HI, what do u think about adding a possibility to overload such operators& Thanx Yan |
February 08, 2004 Re: Proposal: over(?)loading "!","#","$","?","@",etc.. (unary and binary) | ||||
---|---|---|---|---|
| ||||
Posted in reply to mosfox | mosfox@yandex.ru wrote:
> HI, what do u think about adding a possibility to overload such operators&
> Thanx
> Yan
>
>
! used for templates; maybe possible
# used for pragmas; I don't think thats good
The rest it usused and would be nice to be overloadable.
Stephan
|
February 09, 2004 Re: Proposal: over(?)loading "!","#","$","?","@",etc.. (unary and binary) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Wienczny | Stephan Wienczny wrote:
>
> ! used for templates; maybe possible
> # used for pragmas; I don't think thats good
> 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
|
Copyright © 1999-2021 by the D Language Foundation