[boost] [contract] Class invariants (also for static and volatile/const-volatile public functions)