| 231 | } |
| 232 | |
| 233 | bool Attach(T p) |
| 234 | { |
| 235 | if (this->find(p)!=base_type::end()) |
| 236 | return false; |
| 237 | this->insert(p); |
| 238 | p->Attach(static_cast<T2>(this)); |
| 239 | return true; |
| 240 | } |
| 241 | bool Detach(T p) |
| 242 | { |
| 243 | if (this->find(p)==base_type::end()) |
no test coverage detected