[Interest] deprecating class methods gracefully

René J. V. Bertin rjvbertin at gmail.com
Sat Nov 12 12:44:42 CET 2016


Thiago Macieira wrote:

> If you want to remove an override (so long as it's not a virtual one), I'd do
> an #ifdef and have a special file that sets the define.
> 
> #ifdef MYCLASS_INCLUDE_DEPRECATED
> static void whatever(int mode);
> #endif

I guess that'd work, thanks :)

R.




More information about the Interest mailing list