1
Reply

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

Manu

Manu

18y
5.9k
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.
    .