Prefer 'using' to 'typedef' in examples
Summary
- Replace
typedef
withusing
in all C++ examples - clang-format all examples again
Rationale
'using' is generally prefered in modern C++. It's important here because examples are part of the documentation (cookbook). It could be done for the rest of the code, but it's much less important.
Part of #1865
Copyright
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
- All discussions are resolved
- At least 2
👍 votes from core developers, no👎 vote. - The feature branch is (reasonably) up-to-date with the base branch
- Dashboard is green
- Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
- Optionally, run
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i
on latest changes and commit