File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -217,12 +217,12 @@ This section I'm just taking wholesale from http://www.cplusplus.com/articles/Gw
217217> class MyClass : public Parent // Parent object, so #include "parent.h"
218218> {
219219> public:
220- > std::vector<int > avector; // vector object, so #include <vector >
221- > Foo* foo; // Foo pointer, so forward declare Foo
222- > void Func(Bar& bar); // Bar reference, so forward declare Bar
220+ > std::vector<int > avector; // vector object, so #include <vector >
221+ > Foo* foo; // Foo pointer, so forward declare Foo
222+ > void Func(Bar& bar); // Bar reference, so forward declare Bar
223223>
224- > friend class MyFriend; // friend declaration is not a dependency
225- > // don't do anything about MyFriend
224+ > friend class MyFriend; // friend declaration is not a dependency
225+ > // don't do anything about MyFriend
226226> };
227227>
228228> #endif // __ MYCLASS_H_INCLUDED__
You can’t perform that action at this time.
0 commit comments