This commit is contained in:
2025-09-22 17:46:52 +03:00
parent 1a4d998141
commit fedc324410
4 changed files with 24 additions and 6 deletions

View File

@@ -269,6 +269,14 @@ static constexpr void mcc_copy_eqt_hrz_coord(mcc_eqt_hrz_coord_c auto const& fro
}
// nullptr_t or pointer to celestial/equatorial and horizontal coordinates class
template <typename T>
concept mcc_coord_pointer_or_nullptr =
std::is_null_pointer_v<T> ||
(std::is_pointer_v<std::decay_t<T>> && (mcc_celestial_point_c<std::remove_pointer_t<std::decay_t<T>>> ||
mcc_eqt_hrz_coord_c<std::remove_pointer_t<std::decay_t<T>>>));
/* CELESTIAL COORDINATES TRANSFORMATION ENGINE */