Get compiling in C++26 mode, add forwarding_ref and more tests #16
Quality Gate failed
Failed conditions
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 39 in include/lefticus/tools/moving_ref.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace alternative operator "not" with "!".
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK1_ELQh-IuXSncYXB&open=AZzK1_ELQh-IuXSncYXB&pullRequest=16
Check failure on line 39 in include/lefticus/tools/has_move_ctor.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace this conversion operator with a function or (C++11) add the "explicit" keyword.
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK16ARDgifRzo47jJO&open=AZzK16ARDgifRzo47jJO&pullRequest=16
Check warning on line 43 in include/lefticus/tools/moving_ref.hpp
sonarqubecloud / SonarCloud Code Analysis
Add message to "[[nodiscard]]" attribute explaining why return values of this type should not be discarded.
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK6kixLSFP-gpY-9ZD&open=AZzK6kixLSFP-gpY-9ZD&pullRequest=16
Check failure on line 60 in include/lefticus/tools/moving_ref.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace this conversion operator with a function or (C++11) add the "explicit" keyword.
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK1_ELQh-IuXSncYXF&open=AZzK1_ELQh-IuXSncYXF&pullRequest=16
Check failure on line 16 in test/moving_forwarding_ref.cpp
sonarqubecloud / SonarCloud Code Analysis
Customize this struct's destructor to participate in resource management.
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK16AjDgifRzo47jJR&open=AZzK16AjDgifRzo47jJR&pullRequest=16
Check failure on line 52 in include/lefticus/tools/forwarding_ref.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace this conversion operator with a function or (C++11) add the "explicit" keyword.
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK1_G6Qh-IuXSncYXH&open=AZzK1_G6Qh-IuXSncYXH&pullRequest=16
Check warning on line 39 in include/lefticus/tools/moving_ref.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace alternative operator "not" with "!".
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK1_ELQh-IuXSncYXC&open=AZzK1_ELQh-IuXSncYXC&pullRequest=16
Check warning on line 38 in include/lefticus/tools/moving_ref.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace alternative operator "not" with "!".
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK1_ELQh-IuXSncYXD&open=AZzK1_ELQh-IuXSncYXD&pullRequest=16
Check warning on line 104 in include/lefticus/tools/strong_types.hpp
sonarqubecloud / SonarCloud Code Analysis
Ensure this forwarding constructor has constraints that prevent copying / moving objects of the same type.
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK1_HPQh-IuXSncYXI&open=AZzK1_HPQh-IuXSncYXI&pullRequest=16
Check failure on line 38 in include/lefticus/tools/has_move_ctor.hpp
sonarqubecloud / SonarCloud Code Analysis
Replace this conversion operator with a function or (C++11) add the "explicit" keyword.
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK16ARDgifRzo47jJN&open=AZzK16ARDgifRzo47jJN&pullRequest=16
Check warning on line 38 in include/lefticus/tools/forwarding_ref.hpp
sonarqubecloud / SonarCloud Code Analysis
Add message to "[[nodiscard]]" attribute explaining why return values of this type should not be discarded.
See more on https://sonarcloud.io/project/issues?id=lefticus_tools&issues=AZzK6kk9LSFP-gpY-9ZE&open=AZzK6kk9LSFP-gpY-9ZE&pullRequest=16