| 39 | } |
| 40 | |
| 41 | struct fat_executor |
| 42 | { |
| 43 | fat_executor(int id) |
| 44 | : id_(id) |
| 45 | { |
| 46 | std::memset(data_, 0, sizeof(data_)); |
| 47 | } |
| 48 | |
| 49 | template <typename F> |
| 50 | void execute(const F&) const |
| 51 | { |
| 52 | } |
| 53 | |
| 54 | friend bool operator==(const fat_executor& a, |
| 55 | const fat_executor& b) noexcept |
| 56 | { |
| 57 | return a.id_ == b.id_; |
| 58 | } |
| 59 | |
| 60 | friend bool operator!=(const fat_executor& a, |
| 61 | const fat_executor& b) noexcept |
| 62 | { |
| 63 | return a.id_ != b.id_; |
| 64 | } |
| 65 | |
| 66 | int id_; |
| 67 | unsigned char data_[1024]; |
| 68 | }; |
| 69 | |
| 70 | namespace boost { |
| 71 | namespace asio { |
no outgoing calls
no test coverage detected