We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#define
There are a few #defines in the code right now that can be replaced by (constexpr) functions/constants.
constexpr
For strings, QString literals (const QString FOO = u"foo"_s) can be used (in some cases, QStringView might be useful - its constructor is constexpr).
QString
const QString FOO = u"foo"_s
QStringView
As a sidenote, maybe QStringView operator""_sv should be added.
QStringView operator""_sv
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There are a few
#define
s in the code right now that can be replaced by (constexpr
) functions/constants.For strings,
QString
literals (const QString FOO = u"foo"_s
) can be used (in some cases,QStringView
might be useful - its constructor isconstexpr
).As a sidenote, maybe
QStringView operator""_sv
should be added.The text was updated successfully, but these errors were encountered: