SmartPointer.hpp:8: Do not indent within a namespace [runtime/indentation_namespace] [4]
SmartPointer.hpp:19: Do not indent within a namespace [runtime/indentation_namespace] [4]
SmartPointer.hpp:22: public: should be indented +1 space inside class SmartPointer [whitespace/indent] [3]
SmartPointer.hpp:22: "public:" should be preceded by a blank line [whitespace/blank_line] [3]
SmartPointer.hpp:25: Constructors callable with one argument should be marked explicit. [runtime/explicit] [5]
SmartPointer.hpp:27: Else clause should never be on same line as else (use 2 lines) [whitespace/newline] [4]
SmartPointer.hpp:85: Else clause should never be on same line as else (use 2 lines) [whitespace/newline] [4]
SmartPointer.hpp:97: Else clause should never be on same line as else (use 2 lines) [whitespace/newline] [4]
SmartPointer.hpp:101: Else clause should never be on same line as else (use 2 lines) [whitespace/newline] [4]
SmartPointer.hpp:122: Lines should be <= 80 characters long [whitespace/line_length] [2]
SmartPointer.hpp:123: Lines should be <= 80 characters long [whitespace/line_length] [2]
SmartPointer.hpp:123: Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
SmartPointer.hpp:128: Lines should be <= 80 characters long [whitespace/line_length] [2]
SmartPointer.hpp:129: Lines should be <= 80 characters long [whitespace/line_length] [2]
SmartPointer.hpp:129: Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
SmartPointer.hpp:137: You don't need a ; after a } [readability/braces] [4]
SmartPointer.hpp:136: Else clause should never be on same line as else (use 2 lines) [whitespace/newline] [4]
SmartPointer.hpp:139: private: should be indented +1 space inside class SmartPointer [whitespace/indent] [3]
SmartPointer.hpp:141: public: should be indented +1 space inside class Core [whitespace/indent] [3]
SmartPointer.hpp:145: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
SmartPointer.hpp:158: Closing brace should be aligned with beginning of class SmartPointer [whitespace/indent] [3]
SmartPointer.hpp:160: Namespace should be terminated with "// namespace smart_pointer" [readability/namespace] [5]
SmartPointer.hpp:160: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
Done processing SmartPointer.hpp
Total errors found: 23
|