| 296 | |
| 297 | template <typename Executor> |
| 298 | Executor* executor::target() noexcept |
| 299 | { |
| 300 | return impl_ && impl_->target_type() == type_id<Executor>() |
| 301 | ? static_cast<Executor*>(impl_->target()) : 0; |
| 302 | } |
| 303 | |
| 304 | template <typename Executor> |
| 305 | const Executor* executor::target() const noexcept |