| 633 | }; |
| 634 | |
| 635 | void |
| 636 | testAsioHandlerInvoke() |
| 637 | { |
| 638 | // make sure things compile, also can set a |
| 639 | // breakpoint in asio_handler_invoke to make sure |
| 640 | // it is instantiated. |
| 641 | { |
| 642 | net::io_context ioc; |
| 643 | net::strand< |
| 644 | net::io_context::executor_type> s( |
| 645 | ioc.get_executor()); |
| 646 | stream<test::stream> ws{ioc}; |
| 647 | flat_buffer b; |
| 648 | ws.async_write(net::const_buffer{}, |
| 649 | net::bind_executor(s, |
| 650 | copyable_handler{})); |
| 651 | } |
| 652 | } |
| 653 | |
| 654 | /* |
| 655 | https://github.com/boostorg/beast/issues/227 |
nothing calls this directly
no test coverage detected