Rename RAII classes to <Name>Guard #376
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#376
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I started naming RAII classes [Name]Helper, but that name is too generic. What does it help with?
I suggest to rename all RAII classes to [Name]Guard instead and be consistent here. Would also be in line with common C++ naming conventions.
For example: MutexHelper -> MutexGuard
Actually I think this is the only RAII class in the framework right now. But unfortunately it is used everywhere. But adapting names should be trivial.
Good Idea. This seems more explicit.