| 246 | } |
| 247 | |
| 248 | void TOpts::MutuallyExclusiveOpt(TOpt& opt1, TOpt& opt2) { |
| 249 | opt1.Handler1(MutuallyExclusiveHandler(&opt1, &opt2)) |
| 250 | .IfPresentDisableCompletionFor(opt2); |
| 251 | opt2.Handler1(MutuallyExclusiveHandler(&opt2, &opt1)) |
| 252 | .IfPresentDisableCompletionFor(opt1); |
| 253 | } |
| 254 | |
| 255 | size_t TOpts::IndexOf(const TOpt* opt) const { |
| 256 | TOptsVector::const_iterator it = std::find(Opts_.begin(), Opts_.end(), opt); |
nothing calls this directly
no test coverage detected