----------------------------------------------------------------- ! Counts references to a set. \param i is the index of the set that we are counting the references to. \return if the set is empty, the return value is zero. Otherwise it is the number of sets that share the same vector. */
| 102 | Otherwise it is the number of sets that share the same vector. |
| 103 | */ |
| 104 | size_t reference_count(size_t i) const |
| 105 | { // start data index |
| 106 | size_t start = start_[i]; |
| 107 | if( start == 0 ) |
| 108 | return 0; |
| 109 | // |
| 110 | // reference count |
| 111 | return data_[start]; |
| 112 | } |
| 113 | // ----------------------------------------------------------------- |
| 114 | /*! |
| 115 | drop a set. |
no outgoing calls
no test coverage detected