SpreadTooThin wrote:
If this is the implementation of the method in the cpp file:
dbgBuf(std::streambuf* output_buffer) : buffer(output_buffer),
at_start(true), level(0), log_on(true)
{
}
What should the declaration of the method look like in the header
file?
Judging by the presence of what looks like an initialiser list,
it should be a constructor. But the name of this function is not
proper, it lacks the class name, so it can't be an out-of-class
definition of a member. Any out-of-class definition has the
qualified name form (blah::foo or damnit::bar).
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask