mirror of
https://github.com/boostorg/asio.git
synced 2026-01-28 06:42:08 +00:00
Repeat typedefs in derived class templates to fix gcc compile error on Windows.
This commit is contained in:
@@ -44,6 +44,14 @@ public:
|
||||
/// The type of the executor associated with the object.
|
||||
typedef Executor executor_type;
|
||||
|
||||
/// The native representation of a handle.
|
||||
#if defined(GENERATING_DOCUMENTATION)
|
||||
typedef implementation_defined native_handle_type;
|
||||
#else
|
||||
typedef boost::asio::detail::win_iocp_handle_service::native_handle_type
|
||||
native_handle_type;
|
||||
#endif
|
||||
|
||||
/// Construct a random-access handle without opening it.
|
||||
/**
|
||||
* This constructor creates a random-access handle without opening it.
|
||||
|
||||
@@ -47,6 +47,14 @@ public:
|
||||
/// The type of the executor associated with the object.
|
||||
typedef Executor executor_type;
|
||||
|
||||
/// The native representation of a handle.
|
||||
#if defined(GENERATING_DOCUMENTATION)
|
||||
typedef implementation_defined native_handle_type;
|
||||
#else
|
||||
typedef boost::asio::detail::win_iocp_handle_service::native_handle_type
|
||||
native_handle_type;
|
||||
#endif
|
||||
|
||||
/// Construct a stream handle without opening it.
|
||||
/**
|
||||
* This constructor creates a stream handle without opening it.
|
||||
|
||||
Reference in New Issue
Block a user