Skip to content

Commit

Permalink
Merge pull request #1214 from rrahn/feature/type_list_algorithms
Browse files Browse the repository at this point in the history
[FEATURE] Adds all_of traits for type list and parameter packs.
  • Loading branch information
smehringer authored Oct 9, 2019
2 parents f11bd64 + 225023f commit 19ab4cd
Show file tree
Hide file tree
Showing 20 changed files with 403 additions and 235 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
#include <tuple>

#include <seqan3/alignment/configuration/detail.hpp>
#include <seqan3/core/algorithm/pipeable_config_element.hpp>
#include <seqan3/core/detail/pack_algorithm.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/algorithm/pipeable_config_element.hpp>
#include <seqan3/core/algorithm/parameter_pack.hpp>

namespace seqan3
{
Expand Down Expand Up @@ -297,7 +297,7 @@ class end_gaps
constexpr end_gaps(ends_t const ...args) noexcept
requires sizeof...(ends_t) > 0
{
detail::for_each_value([this](auto e)
detail::for_each([this](auto e)
{
values[remove_cvref_t<decltype(e)>::id()] = e();
}, args...);
Expand Down Expand Up @@ -376,7 +376,7 @@ class end_gaps
[](auto ...ends) constexpr
{
std::array<bool, 4> tmp{false, false, false, false};
detail::for_each_value([&tmp](auto v)
detail::for_each([&tmp](auto v)
{
tmp[decltype(v)::id()] = decltype(v)::is_static;
}, ends...);
Expand All @@ -390,7 +390,7 @@ class end_gaps
[](auto ...ends) constexpr
{
std::array<bool, 4> tmp{false, false, false, false};
detail::for_each_value([&tmp](auto v)
detail::for_each([&tmp](auto v)
{
tmp[decltype(v)::id()] = decltype(v)::static_value;
}, ends...);
Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/core/algorithm/all.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@
#include <seqan3/core/algorithm/concept.hpp>
#include <seqan3/core/algorithm/configuration_utility.hpp>
#include <seqan3/core/algorithm/configuration.hpp>
#include <seqan3/core/algorithm/parameter_pack.hpp>
#include <seqan3/core/detail/pack_algorithm.hpp>
#include <seqan3/core/algorithm/pipeable_config_element.hpp>
110 changes: 0 additions & 110 deletions include/seqan3/core/algorithm/parameter_pack.hpp

This file was deleted.

Loading

0 comments on commit 19ab4cd

Please sign in to comment.