How to deprecate member function from outside?
Neia Neutuladh
neia at ikeran.org
Sat Dec 22 23:19:56 UTC 2018
On Sat, 22 Dec 2018 21:33:14 +0000, Dru wrote:
> The first example shows that it is possible to deprecate a function
> separately from it's definition.
No, it doesn't. You declared two *different* functions. One was
deprecated; the other wasn't.
> I want to know if it is possible to "fix" the second example? (deprecate
> a member function separately from it's definition)
No. All functions must be deprecated where you declare them.
More information about the Digitalmars-d-learn
mailing list