seqan / product_backlog

This repository is used as product backlog for all SeqAn relevant backlog items. This is intended to organise the work for the team.
2 stars 1 forks source link

move seqan3::views::zip to seqan3/utility/views/ #357

Closed marehr closed 3 years ago

marehr commented 3 years ago

Tasks

From 0a297087ce0254d90885cbe5badbf53301a97516 Mon Sep 17 00:00:00 2001
From: marehr <marehr-github@marehr.dialup.fu-berlin.de>
Date: Sun, 18 Apr 2021 12:47:51 +0200
Subject: [PATCH 35/35] TODO: [MISC] move seqan3::views::zip to
 seqan3/utility/views/

---
 include/seqan3/range/views/zip.hpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/seqan3/range/views/zip.hpp b/include/seqan3/range/views/zip.hpp
index cbf80a648..f9031ef45 100644
--- a/include/seqan3/range/views/zip.hpp
+++ b/include/seqan3/range/views/zip.hpp
@@ -20,7 +20,11 @@
 namespace seqan3::views
 {

-//TODO reimplement me
-using ::ranges::views::zip;
+/*!\brief A zip view
+ * \ingroup views
+ * \details
+ * \noapi{This is currently range-v3's zip implementation.}
+ */
+inline constexpr auto zip = ::ranges::views::zip;

 } // namespace seqan3::views
-- 
2.31.1