Add execution::is_executor<> specialisations for non-executors.
diff --git a/asio/include/asio/io_context.hpp b/asio/include/asio/io_context.hpp
index c73db03..80dee42 100644
--- a/asio/include/asio/io_context.hpp
+++ b/asio/include/asio/io_context.hpp
@@ -1528,6 +1528,15 @@
 
 } // namespace traits
 
+namespace execution {
+
+template <>
+struct is_executor<io_context> : false_type
+{
+};
+
+} // namespace execution
+
 #endif // !defined(GENERATING_DOCUMENTATION)
 
 } // namespace asio
diff --git a/asio/include/asio/thread_pool.hpp b/asio/include/asio/thread_pool.hpp
index 949d408..f47db27 100644
--- a/asio/include/asio/thread_pool.hpp
+++ b/asio/include/asio/thread_pool.hpp
@@ -1117,6 +1117,15 @@
 
 } // namespace traits
 
+namespace execution {
+
+template <>
+struct is_executor<thread_pool> : false_type
+{
+};
+
+} // namespace execution
+
 #endif // !defined(GENERATING_DOCUMENTATION)
 
 } // namespace asio