-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
featureNew feature or requestNew feature or requestgood first issueIndicates a good issue for first-time contributorsIndicates a good issue for first-time contributors
Description
Describe the feature request
Since C++20
, the <format>
STL functionality was introduced to improve string formatting:
- more readable
- less use of
std::to_string
(only when strictly necessary) - no unnecessary copying between stack and heap
This issue is about replacing the current PowerGridError
and derived exceptions' constructor implementations with more readable patterns using formatted strings.
- For static format patterns,
std::format
can be used - For format patterns that are not compile-time known,
std::formatv
needs to be used
The documentation on either is relatively clear, so it should not be a hard ticket to pick up.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestgood first issueIndicates a good issue for first-time contributorsIndicates a good issue for first-time contributors
Type
Projects
Status
No status