Fix any_io_executor equality operators.
This commit is contained in:
parent
a4d820dd69
commit
c12bdd3d23
@ -1306,8 +1306,8 @@ public:
|
||||
|
||||
template <typename AnyExecutor1, typename AnyExecutor2>
|
||||
friend typename enable_if<
|
||||
is_same<AnyExecutor1, any_executor>::value
|
||||
|| is_same<AnyExecutor2, any_executor>::value,
|
||||
is_base_of<any_executor, AnyExecutor1>::value
|
||||
|| is_base_of<any_executor, AnyExecutor2>::value,
|
||||
bool
|
||||
>::type operator==(const AnyExecutor1& a,
|
||||
const AnyExecutor2& b) ASIO_NOEXCEPT
|
||||
@ -1335,8 +1335,8 @@ public:
|
||||
|
||||
template <typename AnyExecutor1, typename AnyExecutor2>
|
||||
friend typename enable_if<
|
||||
is_same<AnyExecutor1, any_executor>::value
|
||||
|| is_same<AnyExecutor2, any_executor>::value,
|
||||
is_base_of<any_executor, AnyExecutor1>::value
|
||||
|| is_base_of<any_executor, AnyExecutor2>::value,
|
||||
bool
|
||||
>::type operator!=(const AnyExecutor1& a,
|
||||
const AnyExecutor2& b) ASIO_NOEXCEPT
|
||||
@ -1503,8 +1503,8 @@ public:
|
||||
|
||||
template <typename AnyExecutor1, typename AnyExecutor2>
|
||||
friend typename enable_if<
|
||||
is_same<AnyExecutor1, any_executor>::value
|
||||
|| is_same<AnyExecutor2, any_executor>::value,
|
||||
is_base_of<any_executor, AnyExecutor1>::value
|
||||
|| is_base_of<any_executor, AnyExecutor2>::value,
|
||||
bool
|
||||
>::type operator==(const AnyExecutor1& a,
|
||||
const AnyExecutor2& b) ASIO_NOEXCEPT
|
||||
@ -1532,8 +1532,8 @@ public:
|
||||
|
||||
template <typename AnyExecutor1, typename AnyExecutor2>
|
||||
friend typename enable_if<
|
||||
is_same<AnyExecutor1, any_executor>::value
|
||||
|| is_same<AnyExecutor2, any_executor>::value,
|
||||
is_base_of<any_executor, AnyExecutor1>::value
|
||||
|| is_base_of<any_executor, AnyExecutor2>::value,
|
||||
bool
|
||||
>::type operator!=(const AnyExecutor1& a,
|
||||
const AnyExecutor2& b) ASIO_NOEXCEPT
|
||||
@ -1918,8 +1918,8 @@ inline void swap(any_executor<SupportableProperties...>& a,
|
||||
\
|
||||
template <typename AnyExecutor1, typename AnyExecutor2> \
|
||||
friend typename enable_if< \
|
||||
is_same<AnyExecutor1, any_executor>::value \
|
||||
|| is_same<AnyExecutor2, any_executor>::value, \
|
||||
is_base_of<any_executor, AnyExecutor1>::value \
|
||||
|| is_base_of<any_executor, AnyExecutor2>::value, \
|
||||
bool \
|
||||
>::type operator==(const AnyExecutor1& a, \
|
||||
const AnyExecutor2& b) ASIO_NOEXCEPT \
|
||||
@ -1947,8 +1947,8 @@ inline void swap(any_executor<SupportableProperties...>& a,
|
||||
\
|
||||
template <typename AnyExecutor1, typename AnyExecutor2> \
|
||||
friend typename enable_if< \
|
||||
is_same<AnyExecutor1, any_executor>::value \
|
||||
|| is_same<AnyExecutor2, any_executor>::value, \
|
||||
is_base_of<any_executor, AnyExecutor1>::value \
|
||||
|| is_base_of<any_executor, AnyExecutor2>::value, \
|
||||
bool \
|
||||
>::type operator!=(const AnyExecutor1& a, \
|
||||
const AnyExecutor2& b) ASIO_NOEXCEPT \
|
||||
|
Loading…
Reference in New Issue
Block a user