Allows to default some constructors.
Details
Details
- Reviewers
vkrause - Commits
- R216:e7c7184209c5: Use in-class member initialization where possible
make test
Diff Detail
Diff Detail
- Repository
- R216 Syntax Highlighting
- Branch
- useMemberInit (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 1380 Build 1398: arc lint + arc unit
Comment Actions
Moving a default ctor/dtor definition to the header would break ABI for exported classes, but this seems to only touch non-exported ones, so this should be fine.
Comment Actions
Yes, only private classes were changed intentionally. Public classes don't have members anyways besides the d-pointer. And the d-pointer requires a non-trivial constructor/destructor.