| 27 | static int never_blocking_count = 0; |
| 28 | |
| 29 | struct possibly_blocking_executor |
| 30 | { |
| 31 | template <typename F> |
| 32 | void execute(const F&) const |
| 33 | { |
| 34 | ++possibly_blocking_count; |
| 35 | } |
| 36 | |
| 37 | friend bool operator==(const possibly_blocking_executor&, |
| 38 | const possibly_blocking_executor&) noexcept |
| 39 | { |
| 40 | return true; |
| 41 | } |
| 42 | |
| 43 | friend bool operator!=(const possibly_blocking_executor&, |
| 44 | const possibly_blocking_executor&) noexcept |
| 45 | { |
| 46 | return false; |
| 47 | } |
| 48 | }; |
| 49 | |
| 50 | namespace boost { |
| 51 | namespace asio { |
no outgoing calls
no test coverage detected