5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_COPY_N_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_COPY_N_HPP_
125template <
typename T,
typename = arene::base::constra
ints<>>
139template <
typename T,
typename = arene::base::constra
ints<>>
167 typename InputIterator,
169 typename OutputIterator,
184 using count_type =
decltype(count_to_copy);
186 for (; count_to_copy >
static_cast<count_type
>(0); --count_to_copy) {
Public export header for the constraints subpackage.
typename constraints_impl::constraints< EnableIfs... >::type constraints
Helper used to express template constraints in a consistent way using std::enable_if_t.
Definition constraints.hpp:51
constexpr auto convert_size_to_integer(bool const value) noexcept -> uint8_t
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:32
constexpr bool is_nothrow_convertible_to_integral_v
Type trait to check if a type is implicitly convertible to an integral type without throwing....
constexpr bool is_convertible_to_integral_v
Type trait to check if a type is implicitly convertible to an integral type. The value is true if so,...
constexpr bool has_nothrow_basic_input_iterator_operations_v
Internal type trait to check if a type supports the necessary input iterator operations without throw...
constexpr bool is_indirectly_nothrow_copy_assignable_v
Internal type trait to check if the values from an input iterator can be copy-assigned to the destina...
constexpr bool has_nothrow_basic_output_iterator_operations_v
Internal type trait to check if a type supports the necessary output iterator operations without thro...
constexpr Type integral_constant< Type, Value >::value
Out-of-line definition for the value constant.
Definition integral_constant.hpp:64
::uint8_t uint8_t
An 8-bit unsigned integer type.
Definition cstdint.hpp:30
typename enable_if< Condition, Type >::type enable_if_t
Type alias to support constraining templates. Is an alias for the specified type if the Condition is ...
Definition enable_if.hpp:41
auto declval() noexcept -> T &&
A dummy function that is declared but not defined, with a user-specified return type,...
auto copy_n(InputIterator first, Size count, OutputIterator out) noexcept(internal::has_nothrow_basic_input_iterator_operations_v< InputIterator > &&internal::has_nothrow_basic_output_iterator_operations_v< OutputIterator > &©_n_detail::is_nothrow_convertible_to_integral_v< Size > &&internal::is_indirectly_nothrow_copy_assignable_v< InputIterator, OutputIterator >) -> OutputIterator
Copy count elements from the input range starting with first to the output range starting with out.
Definition copy_n.hpp:175
typename conditional< Condition, TrueType, FalseType >::type conditional_t
Helper template alias for selecting types based on a condition. If the supplied Condition is true the...
Definition conditional.hpp:57
::int8_t int8_t
An 8-bit signed integer type.
Definition cstdint.hpp:55
::int64_t int64_t
A 64-bit signed integer type.
Definition cstdint.hpp:71