Change phrasing; Fix code formatting

This commit is contained in:
an.tsouchlos 2025-04-14 13:37:02 +00:00
parent b21d15b981
commit 066bed20c7

View File

@ -1,6 +1,6 @@
It is sometimes useful to be able to verify that certain settings are valid, at
It is sometimes useful to be able to verify that certain settings are valid at
compile time. An easy approach to do this is to pass the settings as non-type
template parameters and use `static_assert()`.
template arguments and use `static_assert()`.
The code snippet below demonstrates an approach which doesn't require templates
and cleanly separates the verification logic from the rest of the code.
@ -62,7 +62,6 @@ public:
Driver(detail::SettingsChecker settings) : mSettings(settings) {
}
private:
Settings mSettings;
};