diff --git a/asio/include/asio/strand.hpp b/asio/include/asio/strand.hpp index f3ad7e50..81f85723 100644 --- a/asio/include/asio/strand.hpp +++ b/asio/include/asio/strand.hpp @@ -28,6 +28,9 @@ template class strand { public: + /// The type of the underlying executor. + typedef Executor inner_executor_type; + /// Default constructor. /** * This constructor is only valid if the underlying executor type is default @@ -138,6 +141,12 @@ public: { } + /// Obtain the underlying executor. + inner_executor_type get_inner_executor() const ASIO_NOEXCEPT + { + return executor_; + } + /// Obtain the underlying execution context. execution_context& context() ASIO_NOEXCEPT {