changes according to new naming scheme of the snippets-library

new naming scheme (delete "adclib_" prefixes)
This commit is contained in:
2026-09-18 12:11:42 +03:00
parent eb4fa72d4b
commit 271826ee4a
6 changed files with 130 additions and 134 deletions

View File

@@ -12,11 +12,11 @@ namespace adc
typedef std::error_code adc_error_t;
template <typename VT>
using adc_result_t = std::expected<VT, adc_error_t>;
using ret_result_t = std::expected<VT, adc_error_t>;
template <typename T>
concept adc_result_c = requires {
[]<typename VT>(std::type_identity<adc_result_t<VT>>) {}(std::type_identity<std::remove_cvref_t<T>>());
concept ret_result_c = requires {
[]<typename VT>(std::type_identity<ret_result_t<VT>>) {}(std::type_identity<std::remove_cvref_t<T>>());
};
} // namespace adc