Overload of ! operator
Jonathan M Davis
jmdavisProg at gmx.com
Tue Jun 25 20:19:35 PDT 2013
On Wednesday, June 26, 2013 04:50:44 Eric wrote:
> Is there a way to overload the ! operator? I can't seem to get
> it to work with the standard unaryOp method. I need this because
> I am making a wrapper for a C++ API that has ! overloaded.
TDPL does not list it as an overloadable operator, so it probably can't be
overloaded (especially if you've tried it, and it doesn't work). But you
should be able to simply have a wrapper function which is a normal function
rather than an overloaded operator.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list