Commit 6d5f5b5
committed
DOC: Adjust initialization rule for padding data, smart pointers, etc.
Excluded padding data, `std::unique_ptr`, `itk::SmartPointer` and low level
utility classes from the guideline that says that "all member variables must be
initialized when they are declared".
`std::unique_ptr` and `itk::SmartPointer` are excluded because of some GCC
compile errors, which were addressed in ITK by Simon Rit:
- pull request InsightSoftwareConsortium/ITK#3877
commit InsightSoftwareConsortium/ITK@eac289d
"COMP: Remove in-class {} member initializers of unique_ptr"
- pull request InsightSoftwareConsortium/ITK#3927
commit InsightSoftwareConsortium/ITK@f5f8367
"COMP: Remove in class init of SmartPointer of forward declaration"1 parent 6525a5c commit 6d5f5b5
1 file changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1621 | 1621 | | |
1622 | 1622 | | |
1623 | 1623 | | |
1624 | | - | |
1625 | | - | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
1626 | 1641 | | |
1627 | 1642 | | |
1628 | 1643 | | |
| |||
0 commit comments