Let's say we have two class, Foo and Bar.
in Foo.h
#ifndef MYPROJ_FOO
#define MYPROJ_FOO
....
# endif
in Bar.cpp, do we still need to guard the include such as
#ifndef MYPROJ_FOO
#include <Foo.h>
#endif
or simple #include
is sufficient? It seems redundant to me to have include guard if we already have header guard, but I see such practice quite often, hence wondering if I'm missing something. Thanks!