Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA] Update contrib/std #207

Merged
merged 4 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmake/package-lock.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CPMDeclarePackage (simde
DOWNLOAD_ONLY YES
GITHUB_REPOSITORY simd-everywhere/simde)
# benchmark
set (HIBF_BENCHMARK_VERSION 1.8.2)
set (HIBF_BENCHMARK_VERSION 1.8.4)
CPMDeclarePackage (benchmark
NAME benchmark
VERSION ${HIBF_BENCHMARK_VERSION}
Expand All @@ -35,7 +35,7 @@ CPMDeclarePackage (googletest
VERSION ${HIBF_GOOGLETEST_VERSION}
GITHUB_REPOSITORY google/googletest
SYSTEM TRUE
OPTIONS "BUILD_GMOCK OFF" "INSTALL_GTEST OFF")
OPTIONS "BUILD_GMOCK OFF" "INSTALL_GTEST OFF" "CMAKE_CXX_STANDARD 20")
# doxygen-awesome
set (HIBF_DOXYGEN_AWESOME_VERSION 2.3.2)
CPMDeclarePackage (doxygen_awesome
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/.clang-format
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
# SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0

# Format all files
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
# SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0

# Prerequisites
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright (c) 2006-2023, Knut Reinert & Freie Universität Berlin
Copyright (c) 2016-2023, Knut Reinert & MPI für molekulare Genetik
Copyright (c) 2006-2024, Knut Reinert & Freie Universität Berlin
Copyright (c) 2016-2024, Knut Reinert & MPI für molekulare Genetik
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
SPDX-License-Identifier: CC-BY-4.0
-->

Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/all_view.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/chunk_by_view.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/chunk_view.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
18 changes: 9 additions & 9 deletions include/hibf/contrib/std/concepts.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand All @@ -26,13 +26,13 @@ namespace seqan::stl::ranges
{

template <class T>
concept viewable_range = std::ranges::range<T>
&& ((std::ranges::view<std::remove_cvref_t<T>>
&& std::constructible_from<std::remove_cvref_t<T>, T>)
|| (!std::ranges::view<std::remove_cvref_t<T>>
&& (std::is_lvalue_reference_v<T>
|| (std::movable<std::remove_reference_t<T>>
&& !seqan::stl::detail::is_initializer_list<std::remove_cvref_t<T>>))));
concept viewable_range =
std::ranges::range<T>
&& ((std::ranges::view<std::remove_cvref_t<T>> && std::constructible_from<std::remove_cvref_t<T>, T>)
|| (!std::ranges::view<std::remove_cvref_t<T>>
&& (std::is_lvalue_reference_v<T>
|| (std::movable<std::remove_reference_t<T>>
&& !seqan::stl::detail::is_initializer_list<std::remove_cvref_t<T>>))));

} // namespace seqan::stl::ranges

Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/detail/adaptor_base.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/detail/adaptor_from_functor.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/detail/compiler_definitions.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/detail/exposition_only.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/detail/movable_box.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/detail/non_propagating_cache.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/join_with_view.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
22 changes: 11 additions & 11 deletions include/hibf/contrib/std/pair.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down Expand Up @@ -576,9 +576,9 @@ struct common_type<seqan::stl::pair<T1, T2>, std::pair<U1, U2>>

template <class T1, class T2, class U1, class U2, template <class> class TQual, template <class> class UQual>
requires requires {
typename seqan::stl::pair<std::common_reference_t<TQual<T1>, UQual<U1>>,
std::common_reference_t<TQual<T2>, UQual<U2>>>;
}
typename seqan::stl::pair<std::common_reference_t<TQual<T1>, UQual<U1>>,
std::common_reference_t<TQual<T2>, UQual<U2>>>;
}
struct basic_common_reference<seqan::stl::pair<T1, T2>, seqan::stl::pair<U1, U2>, TQual, UQual>
{
using type =
Expand All @@ -587,9 +587,9 @@ struct basic_common_reference<seqan::stl::pair<T1, T2>, seqan::stl::pair<U1, U2>

template <class T1, class T2, class U1, class U2, template <class> class TQual, template <class> class UQual>
requires requires {
typename seqan::stl::pair<std::common_reference_t<TQual<T1>, UQual<U1>>,
std::common_reference_t<TQual<T2>, UQual<U2>>>;
}
typename seqan::stl::pair<std::common_reference_t<TQual<T1>, UQual<U1>>,
std::common_reference_t<TQual<T2>, UQual<U2>>>;
}
struct basic_common_reference<std::pair<T1, T2>, seqan::stl::pair<U1, U2>, TQual, UQual>
{
using type =
Expand All @@ -598,9 +598,9 @@ struct basic_common_reference<std::pair<T1, T2>, seqan::stl::pair<U1, U2>, TQual

template <class T1, class T2, class U1, class U2, template <class> class TQual, template <class> class UQual>
requires requires {
typename seqan::stl::pair<std::common_reference_t<TQual<T1>, UQual<U1>>,
std::common_reference_t<TQual<T2>, UQual<U2>>>;
}
typename seqan::stl::pair<std::common_reference_t<TQual<T1>, UQual<U1>>,
std::common_reference_t<TQual<T2>, UQual<U2>>>;
}
struct basic_common_reference<seqan::stl::pair<T1, T2>, std::pair<U1, U2>, TQual, UQual>
{
using type =
Expand Down
4 changes: 2 additions & 2 deletions include/hibf/contrib/std/to.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause

/*!\file
Expand Down
Loading
Loading