Changes
Page history
Update How to deprecate
authored
Sep 13, 2018
by
Guillaume Pasero
Show whitespace changes
Inline
Side-by-side
How-to-deprecate.md
View page @
28a66271
...
@@ -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
Add the tag deprecated:
```
AddDocTag(Tags::Deprecated);
```
## An OTB module
## An OTB module
TODO
\ No newline at end of file