Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::async::SomeExecutionContext Concept Reference

Concept that identifies types derived from ExecutionContextTag. More...

#include <Concepts.hpp>

Concept definition

template<typename T>
concept SomeExecutionContext = std::derived_from<std::remove_cvref_t<T>, ExecutionContextTag>
Concept that identifies types derived from ExecutionContextTag.
Definition Concepts.hpp:51
Tag type for identifying execution context types.
Definition Concepts.hpp:38

Detailed Description

Concept that identifies types derived from ExecutionContextTag.

This concept is used to detect custom execution context wrappers (like BasicExecutionContext) and distinguish them from raw Boost.Asio contexts (io_context, thread_pool, etc.).

Template Parameters
TThe type to check