Skip to content

Commit

Permalink
Merge pull request #2265 from joergi-w/refactor/type_traits
Browse files Browse the repository at this point in the history
Move the type traits submodule to utility
  • Loading branch information
eseiler authored Nov 23, 2020
2 parents b6e8e19 + f8cafc2 commit 9dbfcb4
Show file tree
Hide file tree
Showing 158 changed files with 2,223 additions and 1,999 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
#include <seqan3/std/concepts>

#include <seqan3/alignment/configuration/detail.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/alignment/scoring/scoring_scheme_concept.hpp>
#include <seqan3/core/algorithm/pipeable_config_element.hpp>
#include <seqan3/utility/type_traits/basic.hpp>

namespace seqan3::align_cfg
{
Expand Down
6 changes: 3 additions & 3 deletions include/seqan3/alignment/matrix/alignment_coordinate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

#pragma once

#include <seqan3/std/concepts>
#include <seqan3/std/iterator>
#include <type_traits>

#include <seqan3/alignment/matrix/detail/matrix_coordinate.hpp>
#include <seqan3/core/detail/debug_stream_tuple.hpp>
#include <seqan3/core/detail/debug_stream_type.hpp>
#include <seqan3/core/detail/strong_type.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/std/concepts>
#include <seqan3/std/iterator>
#include <seqan3/core/detail/template_inspection.hpp>

namespace seqan3::detail
{
Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/alignment/matrix/alignment_optimum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <seqan3/alignment/matrix/detail/matrix_coordinate.hpp>
#include <seqan3/core/concept/core_language.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>
#include <seqan3/core/simd/concept.hpp>
#include <seqan3/core/simd/simd_algorithm.hpp>
#include <seqan3/core/simd/simd_traits.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/alignment/matrix/debug_matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <seqan3/core/detail/debug_stream_range.hpp>
#include <seqan3/core/detail/debug_stream_type.hpp>
#include <seqan3/core/detail/debug_stream_optional.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@

#pragma once

#include <seqan3/std/concepts>
#include <seqan3/std/ranges>
#include <type_traits>
#include <vector>

#include <seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp>
#include <seqan3/alignment/matrix/detail/matrix_coordinate.hpp>
#include <seqan3/alignment/matrix/trace_directions.hpp>
#include <seqan3/alphabet/gap/gapped.hpp>
#include <seqan3/core/type_traits/concept.hpp>
#include <seqan3/core/type_traits/lazy.hpp>
#include <seqan3/core/detail/is_class_template_declarable.hpp>
#include <seqan3/range/decorator/gap_decorator.hpp>
#include <seqan3/range/views/convert.hpp>
#include <seqan3/range/views/slice.hpp>
#include <seqan3/range/views/type_reduce.hpp>
#include <seqan3/range/views/to.hpp>
#include <seqan3/std/concepts>
#include <seqan3/std/ranges>
#include <seqan3/utility/type_traits/concept.hpp>
#include <seqan3/utility/type_traits/lazy_conditional.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@

#pragma once

#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/core/type_traits/range.hpp>
#include <seqan3/std/iterator>
#include <seqan3/std/ranges>
#include <seqan3/std/span>

#include <seqan3/core/range/type_traits.hpp>
#include <seqan3/utility/type_traits/basic.hpp>

namespace seqan3::detail
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <seqan3/alignment/matrix/trace_directions.hpp>
#include <seqan3/core/simd/concept.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/utility/type_traits/basic.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <seqan3/alignment/matrix/detail/affine_cell_proxy.hpp>
#include <seqan3/alignment/matrix/detail/matrix_coordinate.hpp>
#include <seqan3/core/concept/core_language.hpp>
#include <seqan3/core/type_traits/range.hpp>
#include <seqan3/core/range/type_traits.hpp>
#include <seqan3/range/views/zip.hpp>

namespace seqan3::detail
Expand Down
4 changes: 2 additions & 2 deletions include/seqan3/alignment/matrix/detail/coordinate_matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
#include <seqan3/std/ranges>

#include <seqan3/alignment/matrix/detail/matrix_coordinate.hpp>
#include <seqan3/core/detail/template_inspection.hpp>
#include <seqan3/core/simd/concept.hpp>
#include <seqan3/core/simd/simd_algorithm.hpp>
#include <seqan3/core/simd/simd_traits.hpp>
#include <seqan3/core/simd/view_iota_simd.hpp>
#include <seqan3/core/type_traits/lazy.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/range/container/aligned_allocator.hpp>
#include <seqan3/utility/type_traits/lazy_conditional.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <seqan3/alignment/matrix/detail/two_dimensional_matrix.hpp>
#include <seqan3/alignment/matrix/trace_directions.hpp>
#include <seqan3/core/concept/core_language.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>
#include <seqan3/range/container/aligned_allocator.hpp>
#include <seqan3/range/views/repeat_n.hpp>
#include <seqan3/range/views/zip.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

#pragma once

#include <seqan3/std/algorithm>
#include <memory>
#include <seqan3/std/ranges>
#include <vector>

#include <seqan3/alignment/matrix/detail/matrix_coordinate.hpp>
#include <seqan3/alignment/matrix/detail/two_dimensional_matrix_iterator_base.hpp>
#include <seqan3/core/type_traits/deferred_crtp_base.hpp>
#include <seqan3/core/type_traits/range.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/std/algorithm>
#include <seqan3/std/ranges>
#include <seqan3/core/detail/deferred_crtp_base.hpp>
#include <seqan3/core/detail/template_inspection.hpp>
#include <seqan3/core/range/type_traits.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

#pragma once

#include <seqan3/std/concepts>
#include <seqan3/std/ranges>
#include <type_traits>

#include <seqan3/alignment/matrix/detail/matrix_coordinate.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/core/type_traits/iterator.hpp>
#include <seqan3/std/concepts>
#include <seqan3/std/ranges>
#include <seqan3/core/detail/iterator_traits.hpp>
#include <seqan3/utility/type_traits/basic.hpp>

namespace seqan3::detail
{
Expand Down
6 changes: 3 additions & 3 deletions include/seqan3/alignment/pairwise/align_pairwise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@

#pragma once

#include <seqan3/std/concepts>
#include <functional>
#include <iostream>
#include <seqan3/std/ranges>
#include <tuple>
#include <type_traits>

Expand All @@ -28,10 +30,8 @@
#include <seqan3/core/parallel/execution.hpp>
#include <seqan3/core/simd/simd_traits.hpp>
#include <seqan3/core/simd/simd.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/range/views/persist.hpp>
#include <seqan3/std/concepts>
#include <seqan3/std/ranges>
#include <seqan3/utility/type_traits/basic.hpp>

namespace seqan3
{
Expand Down
10 changes: 5 additions & 5 deletions include/seqan3/alignment/pairwise/align_result_selector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
#include <seqan3/alignment/pairwise/detail/type_traits.hpp>
#include <seqan3/alphabet/gap/gapped.hpp>
#include <seqan3/core/algorithm/configuration.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/core/type_traits/lazy.hpp>
#include <seqan3/core/type_traits/range.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/type_traits/transformation_trait_or.hpp>
#include <seqan3/core/detail/template_inspection.hpp>
#include <seqan3/core/range/type_traits.hpp>
#include <seqan3/range/decorator/gap_decorator.hpp>
#include <seqan3/range/views/type_reduce.hpp>
#include <seqan3/utility/type_traits/basic.hpp>
#include <seqan3/utility/type_traits/detail/transformation_trait_or.hpp>
#include <seqan3/utility/type_traits/lazy_conditional.hpp>

namespace seqan3::detail
{
Expand Down
9 changes: 4 additions & 5 deletions include/seqan3/alignment/pairwise/alignment_algorithm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@

#pragma once

#include <seqan3/std/iterator>
#include <memory>
#include <optional>
#include <seqan3/std/ranges>
#include <type_traits>

#include <seqan3/alignment/configuration/align_config_band.hpp>
Expand All @@ -24,20 +26,17 @@
#include <seqan3/alignment/pairwise/detail/concept.hpp>
#include <seqan3/alignment/pairwise/detail/type_traits.hpp>
#include <seqan3/alignment/matrix/detail/aligned_sequence_builder.hpp>

#include <seqan3/core/detail/deferred_crtp_base.hpp>
#include <seqan3/core/detail/empty_type.hpp>
#include <seqan3/core/simd/concept.hpp>
#include <seqan3/core/simd/simd.hpp>
#include <seqan3/core/simd/simd_traits.hpp>
#include <seqan3/core/simd/view_to_simd.hpp>
#include <seqan3/core/type_traits/deferred_crtp_base.hpp>
#include <seqan3/core/type_traits/function.hpp>
#include <seqan3/range/container/aligned_allocator.hpp>
#include <seqan3/range/views/drop.hpp>
#include <seqan3/range/views/get.hpp>
#include <seqan3/range/views/take.hpp>
#include <seqan3/std/iterator>
#include <seqan3/std/ranges>
#include <seqan3/utility/type_traits/function_traits.hpp>

namespace seqan3::detail
{
Expand Down
6 changes: 3 additions & 3 deletions include/seqan3/alignment/pairwise/alignment_configurator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
#include <seqan3/alignment/scoring/nucleotide_scoring_scheme.hpp>
#include <seqan3/alignment/scoring/aminoacid_scoring_scheme.hpp>
#include <seqan3/core/concept/tuple.hpp>
#include <seqan3/core/detail/deferred_crtp_base.hpp>
#include <seqan3/core/detail/template_inspection.hpp>
#include <seqan3/core/simd/simd.hpp>
#include <seqan3/core/type_traits/deferred_crtp_base.hpp>
#include <seqan3/core/type_traits/lazy.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/range/views/type_reduce.hpp>
#include <seqan3/range/views/zip.hpp>
#include <seqan3/utility/type_traits/lazy_conditional.hpp>

namespace seqan3::detail
{
Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/alignment/pairwise/alignment_result.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <seqan3/core/algorithm/configuration.hpp>
#include <seqan3/core/detail/debug_stream_type.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <seqan3/alignment/configuration/align_config_gap_cost_affine.hpp>
#include <seqan3/alignment/matrix/detail/affine_cell_proxy.hpp>
#include <seqan3/alignment/pairwise/detail/type_traits.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>
#include <seqan3/core/simd/concept.hpp>
#include <seqan3/core/simd/simd_algorithm.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <seqan3/alignment/matrix/detail/coordinate_matrix.hpp>
#include <seqan3/alignment/pairwise/detail/type_traits.hpp>
#include <seqan3/core/algorithm/configuration.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <seqan3/alignment/pairwise/detail/type_traits.hpp>
#include <seqan3/core/algorithm/configuration.hpp>
#include <seqan3/core/detail/empty_type.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <seqan3/alignment/pairwise/detail/type_traits.hpp>
#include <seqan3/core/algorithm/configuration.hpp>
#include <seqan3/core/concept/tuple.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#include <seqan3/core/simd/simd.hpp>
#include <seqan3/core/simd/simd_algorithm.hpp>
#include <seqan3/core/simd/simd_traits.hpp>
#include <seqan3/core/type_traits/lazy.hpp>
#include <seqan3/range/views/zip.hpp>
#include <seqan3/utility/type_traits/lazy_conditional.hpp>

namespace seqan3::detail
{
Expand Down
8 changes: 4 additions & 4 deletions include/seqan3/alignment/pairwise/detail/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#pragma once

#include <seqan3/std/ranges>
#include <type_traits>

#include <seqan3/alignment/configuration/align_config_result_type.hpp>
Expand All @@ -30,14 +31,13 @@
#include <seqan3/core/algorithm/configuration.hpp>
#include <seqan3/core/bit_manipulation.hpp>
#include <seqan3/core/detail/empty_type.hpp>
#include <seqan3/core/detail/template_inspection.hpp>
#include <seqan3/core/simd/simd_traits.hpp>
#include <seqan3/core/simd/simd.hpp>
#include <seqan3/core/type_traits/function.hpp>
#include <seqan3/core/type_traits/lazy.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/range/views/chunk.hpp>
#include <seqan3/range/views/zip.hpp>
#include <seqan3/std/ranges>
#include <seqan3/utility/type_traits/function_traits.hpp>
#include <seqan3/utility/type_traits/lazy_conditional.hpp>

namespace seqan3::detail
{
Expand Down
7 changes: 4 additions & 3 deletions include/seqan3/alignment/pairwise/edit_distance_fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@

#pragma once

#include <seqan3/std/concepts>
#include <seqan3/std/ranges>

#include <seqan3/alignment/configuration/align_config_min_score.hpp>
#include <seqan3/alignment/pairwise/detail/type_traits.hpp>
#include <seqan3/alignment/pairwise/align_result_selector.hpp>
#include <seqan3/core/bit_manipulation.hpp>
#include <seqan3/core/detail/deferred_crtp_base.hpp>
#include <seqan3/core/platform.hpp>
#include <seqan3/core/type_traits/deferred_crtp_base.hpp>
#include <seqan3/std/concepts>
#include <seqan3/std/ranges>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

#include <seqan3/alignment/configuration/align_config_band.hpp>
#include <seqan3/alignment/pairwise/detail/alignment_algorithm_state.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/range/views/slice.hpp>
#include <seqan3/range/views/zip.hpp>
#include <seqan3/utility/type_traits/basic.hpp>

namespace seqan3::detail
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <seqan3/alphabet/concept.hpp>
#include <seqan3/core/simd/concept.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/utility/type_traits/basic.hpp>

namespace seqan3::detail
{
Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/alphabet/aminoacid/concept.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <type_traits>

#include <seqan3/alphabet/concept.hpp>
#include <seqan3/core/type_traits/template_inspection.hpp>
#include <seqan3/core/detail/template_inspection.hpp>

// ============================================================================
// aminoacid_empty_base
Expand Down
Loading

0 comments on commit 9dbfcb4

Please sign in to comment.