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_
11#include "arene/base/constraints.hpp"
12#include "stdlib/include/stdlib_detail/conditional.hpp"
13#include "stdlib/include/stdlib_detail/cstdint.hpp"
14#include "stdlib/include/stdlib_detail/declval.hpp"
15#include "stdlib/include/stdlib_detail/enable_if.hpp"
16#include "stdlib/include/stdlib_detail/is_convertible.hpp"
17#include "stdlib/include/stdlib_detail/is_signed.hpp"
18#include "stdlib/include/stdlib_detail/iterator_concepts.hpp"
19#include "stdlib/include/stdlib_detail/iterator_traits.hpp"
46 return static_cast<conditional_t<is_signed_v<
char>, int8_t, uint8_t>>(value);
111 return static_cast<std::int64_t>(value);
118 return static_cast<std::int64_t>(value);
constexpr auto convert_size_to_integer(unsigned const value) noexcept -> unsigned
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:67
constexpr auto convert_size_to_integer(int const value) noexcept -> int
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:62
constexpr auto convert_size_to_integer(signed char const value) noexcept -> int8_t
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:57
constexpr auto convert_size_to_integer(short const value) noexcept -> short
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:73
constexpr auto convert_size_to_integer(long const value) noexcept -> long
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:85
constexpr auto convert_size_to_integer(unsigned long const value) noexcept -> unsigned long
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:91
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 auto convert_size_to_integer(long long const value) noexcept -> long long
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:97
constexpr auto convert_size_to_integer(unsigned long long const value) noexcept -> unsigned long long
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:103
constexpr auto convert_size_to_integer(char const value) noexcept -> conditional_t< is_signed_v< char >, int8_t, uint8_t >
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:44
constexpr auto convert_size_to_integer(float const value) noexcept -> std::int64_t
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:110
constexpr auto convert_size_to_integer(unsigned short const value) noexcept -> unsigned short
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:79
constexpr auto convert_size_to_integer(double const value) noexcept -> std::int64_t
Overloaded internal function to handle Size types that are "convertible to an integer" rather than be...
Definition copy_n.hpp:117
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 auto convert_size_to_integer(unsigned char 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:52
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 auto operator()(::arene::base::result< void, E > const &value) const noexcept(noexcept(hash< E >{}(std::declval< E const & >()))) -> std::size_t
Calculate the hash of a result.
Definition result.hpp:1827