| 133 |
|
/** |
| 134 |
|
* @brief iteratively replace the sequence with wild cards |
| 135 |
|
* @return true if more combination sequence is avaliable, otherwise return true |
| 136 |
< |
* @param cont iterator container, if expect whole series of combination, just pass an empty iterator |
| 137 |
< |
* container. The user should not modify the iterator container |
| 136 |
> |
* @param cont iterator container, if expect the whole series of combinations, pass an empty iterator |
| 137 |
> |
* container. The user should not modify this iterator container |
| 138 |
|
* @param sequence the whole sequence used to generate combination |
| 139 |
|
* @param result a possible combination sequence which is set on return |
| 140 |
< |
* @wildCard the wild card string. Its value is "X" by default |
| 140 |
> |
* @param wildCard the wild card string. Its value is "X" by default |
| 141 |
|
* @note since next_combination never returns an empty sequence, replaceWildCard will not generate |
| 142 |
|
* one special combination, which is n identical wild cards (n is equal to the size of the passing sequence) |
| 143 |
|
* |