This commit is contained in:
2025-07-17 11:29:40 +03:00
parent 49db4aef08
commit e7c2826b5c
6 changed files with 5 additions and 11 deletions

View File

@@ -153,7 +153,7 @@ concept mcc_astrom_engine_c = requires(T t, const T t_const) {
/* A VERY GENERIC MOUNT HARDWARE CONCEPT */
template <typename T>
concept mcc_mount_hardware_c = requires(T t, const T t_const) {
concept mcc_mount_hardware_c = !std::copyable<T> && std::movable<T> && requires(T t, const T t_const) {
requires mcc_error_c<typename T::error_t>;
typename T::time_point_t;
@@ -374,10 +374,6 @@ concept mcc_prohibited_zone_c =
template <typename T>
concept mcc_mount_config_c = std::movable<T> && requires(T t) {
// { t.astromEngine() } -> mcc_astrom_engine_c;
// { t.pec() } -> mcc_mount_pec_c;
// { t.hardware() } -> mcc_mount_hardware_c;
requires mcc_astrom_engine_c<decltype(t.astrometryEngine)>;
requires mcc_mount_pec_c<decltype(t.PEC)>;
requires mcc_mount_hardware_c<decltype(t.hardware)>;