Records

Functions

  • template <typename to, typename from>
    constexpr_ptr<to, from> constexpr_cast_ptr (from * p)

    Defined at line 75 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h

  • template <typename SrcType, typename TargetType>
    auto constexpr_cast_writeptr (TargetType * raw)

    Defined at line 132 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h

  • const char * find (const char * start, const char * end, char character)
  • const char16_t * find (const char16_t * start, const char16_t * end, char16_t character)

Concepts

template <typename T> byte_like std::is_same_v<T, std::byte> || std::is_same_v<T, char> || std::is_same_v<T, signed char> || std::is_same_v<T, unsigned char> || std::is_same_v<T, char8_t>

matches a byte, in the many ways C++ allows. note that these

are all distinct types.

Defined at line 66 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <typename T> is_byte_like byte_like<std::remove_cvref_t<T> >

Defined at line 73 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <typename T> is_pointer std::is_pointer_v<T>

Defined at line 76 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <typename T> input_span_of_byte_like requires (const T &t) { { t.size() } noexcept -> std::convertible_to<std::size_t>; { t.data() } noexcept -> is_pointer; { *t.data() } noexcept -> is_byte_like; }

matches anything that behaves like std::span and points to character-like

data such as: std::byte, char, unsigned char, signed char, std::int8_t,

std::uint8_t

Defined at line 84 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <typename T> is_mutable !std::is_const_v<std::remove_reference_t<T> >

Defined at line 91 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <typename T> output_span_of_byte_like requires (T &t) { { t.size() } noexcept -> std::convertible_to<std::size_t>; { t.data() } noexcept -> is_pointer; { *t.data() } noexcept -> is_byte_like; { *t.data() } noexcept -> is_mutable; }

like span_of_byte_like, but for an output span (intended to be written to)

Defined at line 97 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <class InputPtr> indexes_into_byte_like requires (InputPtr p) { { std::decay_t<decltype(p[0])>{} } -> simdutf::detail::byte_like; }

a pointer like object, when indexed, results in a byte like result.

valid examples: char*, const char*, std::array

<char

,10>

invalid examples: int*, std::array

<int

,10>

Defined at line 110 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <class InputPtr> indexes_into_utf16 requires (InputPtr p) { { std::decay_t<decltype(p[0])>{} } -> std::same_as<char16_t>; }

Defined at line 114 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <class InputPtr> indexes_into_utf32 requires (InputPtr p) { { std::decay_t<decltype(p[0])>{} } -> std::same_as<char32_t>; }

Defined at line 118 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <class InputPtr> index_assignable_from_char requires (InputPtr p, char s) { { p[0] = s }; }

Defined at line 123 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h

template <class InputPtr> indexes_into_uint32 requires (InputPtr p) { { std::decay_t<decltype(p[0])>{} } -> std::same_as<std::uint32_t>; }

a pointer like object that results in a uint32_t when indexed.

valid examples: uint32_t*

Defined at line 132 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h