Skip to content

Commit

Permalink
Remove vestige
Browse files Browse the repository at this point in the history
  • Loading branch information
arximboldi committed Jun 21, 2022
1 parent f0defde commit 1897252
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions immer/detail/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,23 +201,5 @@ struct std_distance_supports<
template <typename T, typename U>
constexpr bool std_distance_supports_v = std_distance_supports<T, U>::value;

template <typename T, typename U, typename V, typename = void>
struct std_uninitialized_copy_supports : std::false_type
{};

template <typename T, typename U, typename V>
struct std_uninitialized_copy_supports<
T,
U,
V,
void_t<decltype(std::uninitialized_copy(
std::declval<T>(), std::declval<U>(), std::declval<V>()))>>
: std::true_type
{};

template <typename T, typename U, typename V>
constexpr bool std_uninitialized_copy_supports_v =
std_uninitialized_copy_supports<T, U, V>::value;

} // namespace detail
} // namespace immer

0 comments on commit 1897252

Please sign in to comment.