Error: use of deleted function default constructor c++
I deleted the default constructor in the class ID and I have an ID field in User. When calling the User constructor I get the error use of deleted function ‘ID::ID()’
. Why is that?
I deleted the default constructor in the class ID and I have an ID field in User. When calling the User constructor I get the error use of deleted function ‘ID::ID()’
. Why is that?