| 278 | |
| 279 | template <typename Executor> |
| 280 | Executor* executor::target() ASIO_NOEXCEPT |
| 281 | { |
| 282 | return impl_ && impl_->target_type() == type_id<Executor>() |
| 283 | ? static_cast<Executor*>(impl_->target()) : 0; |
| 284 | } |
| 285 | |
| 286 | template <typename Executor> |
| 287 | const Executor* executor::target() const ASIO_NOEXCEPT |
no test coverage detected