Update How to deprecate authored by Guillaume Pasero's avatar Guillaume Pasero
...@@ -2,10 +2,26 @@ So you want to deprecate something in OTB? Follow the guide: ...@@ -2,10 +2,26 @@ So you want to deprecate something in OTB? Follow the guide:
## A C++ class ## A C++ class
Use the `[[deprecated]]` attribute.
If the class declaration already has an export macro, use the macro `_DEPRECATED_EXPORT`.
## A method of a C++ class ## A method of a C++ class
Use the `[[deprecated]]` attribute.
## A part of the Python API ## A part of the Python API
TODO
## An OTB application ## An OTB application
## An OTB module Add the tag deprecated:
\ No newline at end of file
```
AddDocTag(Tags::Deprecated);
```
## An OTB module
TODO
\ No newline at end of file