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
cppclean warns on local function that defined in implementation file: "source.cpp:1: 'foo' not found in any directly #included header"
// source.cpp void foo() {} int main() { return 0; }
The text was updated successfully, but these errors were encountered:
Hi,
Also friend boolean operator overloads get the same error.
type.h
class Type { public: friend bool operator==(const Type& a, const Type&b); private: int number = 0; }
type.cpp
#include "type.h" bool operator==(const Type& a, const Type&b) { return a.number == b.number; }
Sorry, something went wrong.
No branches or pull requests
cppclean warns on local function that defined in implementation file: "source.cpp:1: 'foo' not found in any directly #included header"
The text was updated successfully, but these errors were encountered: