Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 383 Bytes

noConstructor.md

File metadata and controls

11 lines (6 loc) · 383 Bytes

Pattern: Class with no constructor

Issue: -

Description

Class does not have a constructor although it has private member variables. Member variables of builtin types are left uninitialized when the class is instantiated. That may cause bugs or undefined behavior.

Further Reading