Hi Christian, Christian Johannes Charbula <[EMAIL PROTECTED]> writes:
> is the parameter processAnnot from the function > TraverseSchema::checkContent const or not const? It is not necessary in the interface (.hpp) since the caller does not care whether the implementation will change the processAnnot variable or not. In the implementation (.cpp) it can be made const if the implementation does not intend to modify it. But most people, include myself, don't bother with things like this. > i made it const in my local copy, but i don't know if i should check > this in. I think it is fine to leave it as is (that is no const in the interface and const in the implementation). Boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding
