Helper function to clone another implementation.
| 334 | |
| 335 | // Helper function to clone another implementation. |
| 336 | impl_base* clone() const noexcept |
| 337 | { |
| 338 | return impl_ ? impl_->clone() : 0; |
| 339 | } |
| 340 | |
| 341 | // Helper function to destroy an implementation. |
| 342 | void destroy() noexcept |