About 51 results
Open links in new tab
  1. Deprecated meaning? - Stack Overflow

    Nov 13, 2011 · Although deprecated features remain in the software, their use may raise warning messages recommending alternative practices, and deprecation may indicate that the feature will be …

  2. How can I mark a C++ class method as deprecated?

    Feb 19, 2023 · In C++14, you can mark a function as deprecated using the [[deprecated]] attribute (see section 7.6.5 [dcl.attr.deprecated]). The attribute-token deprecated can be used to mark names and …

  3. The Difference Between Deprecated, Depreciated and Obsolete

    Feb 9, 2012 · There is a lot of confusion about this and I'd like to know, what exactly is the difference between depreciated, deprecated and obsolete, in a programming context, but also in general. I …

  4. How to declare or mark a Java method as deprecated?

    Jan 27, 2012 · Starting with J2SE 5.0, you deprecate a class, method, or field by using the @Deprecated annotation. Additionally, you can use the @deprecated Javadoc tag tell developers …

  5. c++ - How can I get rid of deprecated warnings in deprecated …

    Feb 19, 2017 · One way to implement deprecation warnings is to produce warnings on calls to deprecated functions, unless you are calling from a deprecated context. This way legacy code can …

  6. What does it mean for a method to be deprecated? [duplicate]

    Feb 26, 2013 · A lot of threads talking about what deprecated means but not what it means for a method. Could someone please explain?

  7. java - @deprecated vs @Deprecated - Stack Overflow

    Dec 19, 2013 · 138 @Deprecated is an annotation that is read by the compiler, used to mark a method as deprecated to the compiler and will generate a deprecation compile-time warning if the method is …

  8. spring - What is the replacement for the deprecated @MockBeans in ...

    Dec 2, 2024 · What is the replacement for the deprecated @MockBeans in SpringBoot 3.4.0? Asked 1 year, 1 month ago Modified 6 months ago Viewed 90k times

  9. decorators in the python standard lib (@deprecated specifically)

    Oct 12, 2020 · It offers the deprecated () decorator to wrap functions, providing proper warnings both in documentation and via Python’s warnings system, as well as the deprecation.fail_if_not_removed () …

  10. Is it wrong to use Deprecated methods or classes in Java?

    The @Deprecated annotation went a step further and warn of danger: A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is …