IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::string Namespace Reference

Namespaces

namespace  detail

Classes

struct  MutableOperations
struct  ReadOnlyOperations
struct  ResizableOperations

Typedefs

template<ice::concepts::StringType StringT>
using ConstCorrectCharType
template<ice::concepts::StringType StringT>
using CharType = ConstCorrectCharType<StringT>
template<ice::concepts::StringType StringT>
using String = typename StringT::StringType

Functions

template<typename Fn>
constexpr auto for_each_split (ice::String contents, ice::String separators, Fn &&fn) noexcept -> ice::u32

Detailed Description

Copyright 2025 - 2026, Dandielo dandi.nosp@m.elo@.nosp@m.icesh.nosp@m.ard..nosp@m.net SPDX-License-Identifier: MIT

Typedef Documentation

◆ CharType

◆ ConstCorrectCharType

Initial value:
std::conditional_t<
std::is_const_v<typename std::remove_reference_t<StringT>>,
typename std::remove_reference_t<StringT>::CharType const,
typename std::remove_reference_t<StringT>::CharType
>

◆ String

template<ice::concepts::StringType StringT>
using ice::string::String = typename StringT::StringType

Function Documentation

◆ for_each_split()

template<typename Fn>
auto ice::string::for_each_split ( ice::String contents,
ice::String separators,
Fn && fn ) -> ice::u32
constexprnoexcept