Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
cstring_view.hpp File Reference
#include <helios/assert.hpp>
#include <algorithm>
#include <compare>
#include <cstddef>
#include <format>
#include <iostream>
#include <iterator>
#include <string>
#include <string_view>

Go to the source code of this file.

Classes

class  helios::BasicCStringView< CharT, Traits >
 A view of a null-terminated C string. More...
struct  std::hash< helios::BasicCStringView< CharT, Traits > >
 Hash support for BasicCStringView. More...
struct  std::formatter< helios::BasicCStringView< CharT, Traits > >
 std::format support for BasicCStringView. More...

Namespaces

namespace  helios
namespace  std
 STL namespace.

Typedefs

using helios::CStringView = BasicCStringView<char>
 A view of a null-terminated C string.
using helios::WCStringView = BasicCStringView<wchar_t>
 A view of a null-terminated wide C string.
using helios::U8CStringView = BasicCStringView<char8_t>
 A view of a null-terminated UTF-8 C string.
using helios::U16CStringView = BasicCStringView<char16_t>
 A view of a null-terminated UTF-16 C string.
using helios::U32CStringView = BasicCStringView<char32_t>
 A view of a null-terminated UTF-32 C string.

Functions

template<typename CharT, typename Traits>
auto helios::operator<< (std::basic_ostream< CharT, Traits > &os, const BasicCStringView< CharT, Traits > &str) -> std::basic_ostream< CharT, Traits > &
 Outputs a BasicCStringView to an output stream.