This commit is contained in:
2025-03-21 13:08:23 +03:00
parent c0cba8422f
commit 441743ff01
5 changed files with 114 additions and 42 deletions

View File

@@ -33,6 +33,7 @@
#include "comm_server_endpoint.h"
#include "control_proto.h"
#include "mcc_traits.h"
#include "mount.h"
namespace mcc
@@ -75,14 +76,6 @@ static constexpr bool is_local_seqpack_proto = std::derived_from<T, asio::local:
std::derived_from<T, asio::local::seq_packet_protocol::socket>;
template <typename T>
concept mcc_time_duration_c = requires {
[]<class RT, class PT>(std::type_identity<std::chrono::duration<RT, PT>>) {
}(std::type_identity<std::remove_cvref_t<T>>());
};
} // namespace traits