Hi everybody!
I have a question concerning code organisation. Suppose I have the following
header file:
#ifndef SOME_NAME
#define SOME_NAME
namespace N {
void F()
... here comes the implementation
}
}
#endif
In this case I would think that you never ever can encounter a 'multiple
definition' problem because
1) SOME_NAME is defined the first time F is defined
2) there is only one definition of F, so it even wouldn't be a problem to
define the same F a hundred times...
Still, I get the error message that F is multiply defined when this header
file is used in other header files. (And there is definitely not another 'F'
defined in any of these header files)
Can anyone help me out?
Thanks!
Jochen