Disambiguate enable_if and native_handle_type.
This commit is contained in:
parent
ea67e69e3a
commit
4e49b8c3e5
@ -101,7 +101,8 @@ public:
|
||||
template <typename ExecutionContext>
|
||||
explicit basic_serial_port(ExecutionContext& context,
|
||||
typename enable_if<
|
||||
is_convertible<ExecutionContext&, execution_context&>::value
|
||||
is_convertible<ExecutionContext&, execution_context&>::value,
|
||||
basic_serial_port
|
||||
>::type* = 0)
|
||||
: impl_(context)
|
||||
{
|
||||
|
@ -89,7 +89,8 @@ public:
|
||||
template <typename ExecutionContext>
|
||||
explicit basic_object_handle(ExecutionContext& context,
|
||||
typename enable_if<
|
||||
is_convertible<ExecutionContext&, execution_context&>::value
|
||||
is_convertible<ExecutionContext&, execution_context&>::value,
|
||||
basic_object_handle
|
||||
>::type* = 0)
|
||||
: impl_(context)
|
||||
{
|
||||
|
@ -92,7 +92,8 @@ public:
|
||||
template <typename ExecutionContext>
|
||||
explicit basic_overlapped_handle(ExecutionContext& context,
|
||||
typename enable_if<
|
||||
is_convertible<ExecutionContext&, execution_context&>::value
|
||||
is_convertible<ExecutionContext&, execution_context&>::value,
|
||||
basic_overlapped_handle
|
||||
>::type* = 0)
|
||||
: impl_(context)
|
||||
{
|
||||
|
@ -77,7 +77,8 @@ public:
|
||||
template <typename ExecutionContext>
|
||||
explicit basic_random_access_handle(ExecutionContext& context,
|
||||
typename enable_if<
|
||||
is_convertible<ExecutionContext&, execution_context&>::value
|
||||
is_convertible<ExecutionContext&, execution_context&>::value,
|
||||
basic_random_access_handle
|
||||
>::type* = 0)
|
||||
: basic_overlapped_handle<Executor>(context)
|
||||
{
|
||||
|
@ -79,7 +79,8 @@ public:
|
||||
template <typename ExecutionContext>
|
||||
explicit basic_stream_handle(ExecutionContext& context,
|
||||
typename enable_if<
|
||||
is_convertible<ExecutionContext&, execution_context&>::value
|
||||
is_convertible<ExecutionContext&, execution_context&>::value,
|
||||
basic_stream_handle
|
||||
>::type* = 0)
|
||||
: basic_overlapped_handle<Executor>(context)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user