11 template<ice::u32 Capacity = 12,
typename CharT =
char>
requires ice::concepts::SupportedCharType<CharT>
37 template<typename Self>
38 constexpr auto
data(this Self& self) noexcept {
return self._data; }
49 template<
ice::
u32 Capacity, typename CharT> requires
ice::
concepts::SupportedCharType<CharT>
56 template<ice::u32 Capacity,
typename CharT>
requires ice::concepts::SupportedCharType<CharT>
57 template<ice::u32 Size>
68 if (std::is_constant_evaluated())
72 _data[idx] = str[idx];
75 else if (str.not_empty())
124 template<ice::u32 Capacity,
typename CharT>
requires ice::concepts::SupportedCharType<CharT>
127 CharType const*
const other_str_begin = other.begin();
128 bool const part_of_this = other_str_begin >= this->
begin()
129 && other_str_begin < this->
end();
146 template<ice::u32 Capacity,
typename CharT>
requires ice::concepts::SupportedCharType<CharT>
176 .size =
size().bytes(),
181 template<ice::u32 Capacity = 12>
Definition string_concepts.hxx:12
Definition container_concepts.hxx:12
constexpr auto min(arr_t< Size, T > left, arr_t< Size, U > right) noexcept -> arr_t< Size, T >
Definition array_operations.hxx:60
SPDX-License-Identifier: MIT.
Definition array.hxx:12
constexpr ice::ualign align_of
Definition mem_info.hxx:15
BaseStringID< ice::build::Constant_StringID_DebugInfoEnabled > StringID
\copy ice::BaseStringID.
Definition stringid.hxx:15
std::uint32_t u32
Definition types.hxx:26
constexpr auto stringid(ice::StaticString< Capacity, char > value) noexcept -> ice::StringID
Definition static_string.hxx:182
auto memcpy(void *dest, void const *source, ice::usize size) noexcept -> void *
Definition mem_data.hxx:17
Definition static_string.hxx:13
std::reverse_iterator< CharType * > ReverseIterator
Definition static_string.hxx:17
CharType ValueType
Definition static_string.hxx:15
ice::BasicString< CharType > StringType
Definition static_string.hxx:21
constexpr auto data_view() const noexcept -> ice::Data
Definition static_string.hxx:172
constexpr auto size() const noexcept -> SizeType
Definition static_string.hxx:39
constexpr auto operator=(StaticString const &other) noexcept -> StaticString &
ice::ncount SizeType
Definition static_string.hxx:20
SizeType::base_type _size
Definition static_string.hxx:23
constexpr StaticString() noexcept
Definition static_string.hxx:50
constexpr auto data(this Self &self) noexcept
Definition static_string.hxx:38
CharType * Iterator
Definition static_string.hxx:16
std::reverse_iterator< CharType const * > ConstReverseIterator
Definition static_string.hxx:19
ValueType _data[Capacity]
Definition static_string.hxx:24
constexpr void resize(ice::ncount new_size) noexcept
Definition static_string.hxx:147
CharType const * ConstIterator
Definition static_string.hxx:18
constexpr auto capacity() const noexcept -> SizeType
Definition static_string.hxx:43
CharT CharType
Definition static_string.hxx:14
ice::detail::nvalue_base_utype base_type
Definition nvalue.hxx:75
Definition editable_operations.hxx:14
constexpr auto memory_view(this Self &self) noexcept -> ice::Memory
Definition editable_operations.hxx:168
void clear(this Self &self) noexcept
Definition editable_operations.hxx:16
constexpr auto begin(this Self &self) noexcept -> typename Self::Iterator
Definition editable_operations.hxx:132
constexpr auto end(this Self &self) noexcept -> typename Self::Iterator
Definition editable_operations.hxx:138