...
This commit is contained in:
@@ -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)>;
|
||||
|
||||
Reference in New Issue
Block a user