From 6c4f7e26921e5ed5f7dba6dab587f625dab936c5 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 15 Oct 2024 20:53:53 +0200 Subject: [PATCH] refactor: `one_of` usage removed from the `fixed_string` deduction guides --- src/core/include/mp-units/ext/fixed_string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/include/mp-units/ext/fixed_string.h b/src/core/include/mp-units/ext/fixed_string.h index 0fde61ed..048cf2c2 100644 --- a/src/core/include/mp-units/ext/fixed_string.h +++ b/src/core/include/mp-units/ext/fixed_string.h @@ -265,13 +265,13 @@ public: }; // deduction guides -template CharT, std::convertible_to... Rest> +template... Rest> basic_fixed_string(CharT, Rest...) -> basic_fixed_string; template basic_fixed_string(const CharT (&str)[N]) -> basic_fixed_string; -template CharT, std::size_t N> +template basic_fixed_string(std::from_range_t, std::array) -> basic_fixed_string; // specialized algorithms