Package Index Table of Contents
CodeCheck ECS C/C++ to Test Suite - 173.cpp
/*
173. Implement class methods outside of their class declaration block.
*/
class foo {
// bad 173, a definition should NOT be made within a class
// Very nasty practice as this is a 'deferred function' and not actually processed until end-of-class
}
// good 173, just a decl
~foo();
Function Name: foo()
foo() {
};
Package Index Table of Contents
CodeCheck Copyright (c) 1988-2005 by Abraxas Software Inc. (R). All rights reserved.