| 32 | |
| 33 | private: |
| 34 | void verify() |
| 35 | { |
| 36 | if (copied) return; |
| 37 | if (id != _last_destroyed_id() + 1) { |
| 38 | _destroyed_in_order() = false; |
| 39 | } |
| 40 | _last_destroyed_id() = id; |
| 41 | ++_destroy_count(); |
| 42 | } |
| 43 | |
| 44 | public: |
| 45 | static void reset() { _destroy_count() = 0; _id() = 0; _destroyed_in_order() = true; _last_destroyed_id() = -1; } |
nothing calls this directly
no outgoing calls
no test coverage detected