Model review and simulation > Reviewer > Provided PTC reviews > Correctness reviews > Invalid constructor (Reviewer Review)
Invalid constructor (Reviewer Review)
This checks that the constructors are valid:
They may not have a return type.
The may not be immutable (const).
They may not use runtime binding.
They may not be overrides.
If they are static then they may not have parameters.
Consequences
If the above rules are not followed then the constructor will not be valid.
Strategy
The constructor should be fixed so that it can be implemented and properly describe object instantiation.