cppfront icon indicating copy to clipboard operation
cppfront copied to clipboard

[DISCUSSION] Force using non-deprecated code

Open define-private-public opened this issue 3 years ago • 0 comments
trafficstars

I've not see the deprecated attribute used to much in APIs, but I have seen my share of programmers who are unknowingly using deprecated code, or at least knowingly being lazy and not updating deprecated API calls.

I'd like to discuss forcing using non-deprecated code in cppfront.

I.e., if you used a piece of code that's marked as deprecated, compilation should fail. I think this would lead to people acting better at making sure their code is up to date.

define-private-public avatar Oct 27 '22 03:10 define-private-public