1
Reply

What are the conditions that have to be met for a condition to be an invariant of the class?

Manu

Manu

18y
6.7k
0
Reply

    1. The condition should hold at the end of every constructor.
    2. The condition should hold at the end of every mutator(non-const) operation.
    .