cpp20

Summary

Enumerations

endian{
  little = 0x11771E,
  big = 0xB16,
  native = internal::native_endianess()
}
enum

Typedefs

remove_cvref_t using
typename remove_cvref< T >::type
type_identity_t using
typename type_identity< T >::type

Functions

as_bytes(cpp20::span< T, N > s) noexcept
cpp20::span< const cpp17::byte, S >
as_writable_bytes(cpp20::span< T, N > s) noexcept
cpp20::span< cpp17::byte, S >
bind_front(F && f, Args &&... args)
constexpr::cpp20::internal::front_binder_t< F, Args...>
bit_cast(const From & from)
std::enable_if_t< sizeof(To)==sizeof(From)&&std::is_trivially_copyable< To >::value &&std::is_trivially_copyable< From >::value, To >
bit_ceil(T value)
constexpr std::enable_if_t< std::is_unsigned< T >::value, T >
bit_floor(T value)
constexpr std::enable_if_t< std::is_unsigned< T >::value, T >
bit_width(T value)
constexpr std::enable_if_t< std::is_unsigned< T >::value, int >
countl_one(T x) noexcept
constexpr std::enable_if_t< std::is_unsigned< T >::value, int >
countl_zero(T x) noexcept
constexpr std::enable_if_t< std::is_unsigned< T >::value, int >
countr_one(T x) noexcept
constexpr std::enable_if_t< std::is_unsigned< T >::value, int >
countr_zero(T x) noexcept
constexpr std::enable_if_t< std::is_unsigned< T >::value, int >
ends_with(cpp17::basic_string_view< CharT, Traits > s, decltype(s) suffix)
constexpr bool
ends_with(cpp17::basic_string_view< CharT, Traits > s, const CharT *suffix)
constexpr bool
ends_with(cpp17::basic_string_view< CharT, Traits > s, CharT c)
constexpr bool
erase(std::deque< T, Alloc > & c, const U & value)
std::deque< T, Alloc >::size_type
erase(std::vector< T, Alloc > & c, const U & value)
std::vector< T, Alloc >::size_type
erase_if(std::deque< T, Alloc > & c, Pred pred)
std::deque< T, Alloc >::size_type
erase_if(std::vector< T, Alloc > & c, Pred pred)
std::vector< T, Alloc >::size_type
exchange(T & obj, U && new_value)
constexpr T
find(InputIt first, InputIt last, const T & value)
constexpr InputIt
find_if(InputIt first, InputIt last, UnaryPredicate p)
constexpr InputIt
find_if_not(InputIt first, InputIt last, UnaryPredicate q)
constexpr InputIt
has_single_bit(T value)
constexpr std::enable_if_t< std::is_unsigned< T >::value, bool >
invoke(F && f, Args &&... args)
constexpr cpp17::invoke_result_t< F, Args...>
is_constant_evaluated() noexcept
constexpr bool
is_sorted(ForwardIt first, ForwardIt end, Comparator comp)
constexpr bool
lower_bound(ForwardIt first, ForwardIt last, const T & value, Comparator comp)
constexpr ForwardIt
lower_bound(ForwardIt first, ForwardIt last, const T & value)
constexpr ForwardIt
popcount(T x) noexcept
constexpr int
rotl(T x, int s) noexcept
constexpr std::enable_if_t< std::is_unsigned< T >::value, T >
rotr(T x, int s) noexcept
constexpr std::enable_if_t< std::is_unsigned< T >::value, T >
sort(RandomIterator first, RandomIterator end, Comparator comp)
constexpr void
starts_with(cpp17::basic_string_view< CharT, Traits > s, decltype(s) prefix)
constexpr bool
starts_with(cpp17::basic_string_view< CharT, Traits > s, const CharT *prefix)
constexpr bool
starts_with(cpp17::basic_string_view< CharT, Traits > s, CharT c)
constexpr bool
to_address(T *pointer) noexcept
constexpr T *
to_address(const T & pointer) noexcept
constexpr std::pointer_traits< T >::element_type *
to_array(T(&) a[N])
constexpr std::array< std::remove_cv_t< T >, N >
to_array(T(&&) a[N])
constexpr std::array< std::remove_cv_t< T >, N >

Classes

cpp20::atomic_ref
cpp20::source_location

Structs

cpp20::remove_cvref
cpp20::type_identity

Namespaces

cpp20::atomic_internal

Enumerations

endian

 endian
Properties
big
little
native

Typedefs

remove_cvref_t

typename remove_cvref< T >::type remove_cvref_t

type_identity_t

typename type_identity< T >::type type_identity_t

Functions

as_bytes

cpp20::span< const cpp17::byte, S > as_bytes(
  cpp20::span< T, N > s
) noexcept

as_writable_bytes

cpp20::span< cpp17::byte, S > as_writable_bytes(
  cpp20::span< T, N > s
) noexcept

bind_front

constexpr::cpp20::internal::front_binder_t< F, Args...> bind_front(
  F && f,
  Args &&... args
)

bit_cast

std::enable_if_t< sizeof(To)==sizeof(From)&&std::is_trivially_copyable< To >::value &&std::is_trivially_copyable< From >::value, To > bit_cast(
  const From & from
)

bit_ceil

constexpr std::enable_if_t< std::is_unsigned< T >::value, T > bit_ceil(
  T value
)

bit_floor

constexpr std::enable_if_t< std::is_unsigned< T >::value, T > bit_floor(
  T value
)

bit_width

constexpr std::enable_if_t< std::is_unsigned< T >::value, int > bit_width(
  T value
)

countl_one

constexpr std::enable_if_t< std::is_unsigned< T >::value, int > countl_one(
  T x
) noexcept

countl_zero

constexpr std::enable_if_t< std::is_unsigned< T >::value, int > countl_zero(
  T x
) noexcept

countr_one

constexpr std::enable_if_t< std::is_unsigned< T >::value, int > countr_one(
  T x
) noexcept

countr_zero

constexpr std::enable_if_t< std::is_unsigned< T >::value, int > countr_zero(
  T x
) noexcept

ends_with

constexpr bool ends_with(
  cpp17::basic_string_view< CharT, Traits > s,
  decltype(s) suffix
)

ends_with

constexpr bool ends_with(
  cpp17::basic_string_view< CharT, Traits > s,
  const CharT *suffix
)

ends_with

constexpr bool ends_with(
  cpp17::basic_string_view< CharT, Traits > s,
  CharT c
)

erase

std::deque< T, Alloc >::size_type erase(
  std::deque< T, Alloc > & c,
  const U & value
)

erase

std::vector< T, Alloc >::size_type erase(
  std::vector< T, Alloc > & c,
  const U & value
)

erase_if

std::deque< T, Alloc >::size_type erase_if(
  std::deque< T, Alloc > & c,
  Pred pred
)

erase_if

std::vector< T, Alloc >::size_type erase_if(
  std::vector< T, Alloc > & c,
  Pred pred
)

exchange

constexpr T exchange(
  T & obj,
  U && new_value
)

find

constexpr InputIt find(
  InputIt first,
  InputIt last,
  const T & value
)

find_if

constexpr InputIt find_if(
  InputIt first,
  InputIt last,
  UnaryPredicate p
)

find_if_not

constexpr InputIt find_if_not(
  InputIt first,
  InputIt last,
  UnaryPredicate q
)

has_single_bit

constexpr std::enable_if_t< std::is_unsigned< T >::value, bool > has_single_bit(
  T value
)

invoke

constexpr cpp17::invoke_result_t< F, Args...> invoke(
  F && f,
  Args &&... args
)

is_constant_evaluated

constexpr bool is_constant_evaluated() noexcept

is_sorted

constexpr bool is_sorted(
  ForwardIt first,
  ForwardIt end,
  Comparator comp
)

lower_bound

constexpr ForwardIt lower_bound(
  ForwardIt first,
  ForwardIt last,
  const T & value,
  Comparator comp
)

lower_bound

constexpr ForwardIt lower_bound(
  ForwardIt first,
  ForwardIt last,
  const T & value
)

popcount

constexpr int popcount(
  T x
) noexcept

rotl

constexpr std::enable_if_t< std::is_unsigned< T >::value, T > rotl(
  T x,
  int s
) noexcept

rotr

constexpr std::enable_if_t< std::is_unsigned< T >::value, T > rotr(
  T x,
  int s
) noexcept

sort

constexpr void sort(
  RandomIterator first,
  RandomIterator end,
  Comparator comp
)

starts_with

constexpr bool starts_with(
  cpp17::basic_string_view< CharT, Traits > s,
  decltype(s) prefix
)

starts_with

constexpr bool starts_with(
  cpp17::basic_string_view< CharT, Traits > s,
  const CharT *prefix
)

starts_with

constexpr bool starts_with(
  cpp17::basic_string_view< CharT, Traits > s,
  CharT c
)

to_address

constexpr T * to_address(
  T *pointer
) noexcept

to_address

constexpr std::pointer_traits< T >::element_type * to_address(
  const T & pointer
) noexcept

to_array

constexpr std::array< std::remove_cv_t< T >, N > to_array(
  T(&) a[N]
)

to_array

constexpr std::array< std::remove_cv_t< T >, N > to_array(
  T(&&) a[N]
)