diff --git a/include/seqan3/argument_parser/detail/format_base.hpp b/include/seqan3/argument_parser/detail/format_base.hpp index 8479078a34..0583598956 100644 --- a/include/seqan3/argument_parser/detail/format_base.hpp +++ b/include/seqan3/argument_parser/detail/format_base.hpp @@ -18,12 +18,11 @@ #include #include -#include - #include #include #include #include +#include #include namespace seqan3::detail @@ -43,20 +42,20 @@ class format_base static std::string get_type_name_as_string(value_type const & /**/) { using type = std::decay_t; - using types = meta::list; + using types = type_list; std::vector names{"signed 8 bit integer", "unsigned 8 bit integer", "signed 16 bit integer", @@ -72,8 +71,8 @@ class format_base "std::string", "std::filesystem::path"}; - if constexpr (meta::in::value) - return names[meta::find_index::value]; + if constexpr (list_traits::contains) + return names[list_traits::find]; else return detail::get_display_name_v.str(); } diff --git a/include/seqan3/core/algorithm/configuration.hpp b/include/seqan3/core/algorithm/configuration.hpp index 51ed693df6..2e50a00c0f 100644 --- a/include/seqan3/core/algorithm/configuration.hpp +++ b/include/seqan3/core/algorithm/configuration.hpp @@ -19,8 +19,7 @@ #include #include #include -#include -#include +#include #include #include #include @@ -276,13 +275,13 @@ class configuration : public std::tuple template static constexpr bool exists() noexcept { - return !meta::empty, query_t>>::value; + return pack_traits::contains; } //!\brief Checks if the given type exists in the tuple. template