cppfront
cppfront copied to clipboard
[DISCUSSION] Force using non-deprecated code
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.