Thread overview
Proposal: over(?)loading "!","#","$","?","@",etc.. (unary and binary)
Feb 08, 2004
mosfox
Feb 08, 2004
Stephan Wienczny
Feb 09, 2004
Sean Kelly
February 08, 2004
HI, what do u think about adding a possibility to overload such operators&
Thanx
Yan


February 08, 2004
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
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