changes according to new naming scheme of the snippets-library
new naming scheme (delete "adclib_" prefixes)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user