StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
cstring.hxx File Reference
#include <StormByte/visibility.h>
#include <compare>
#include <cstddef>
#include <functional>
#include <ostream>
#include <string>
#include <string_view>
Include dependency graph for cstring.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StormByte::CString
 Owned NUL-terminated buffer, safe to use across a DLL boundary. More...
 
struct  std::hash< StormByte::CString >
 Hash of the text (0 when the buffer is null). More...
 

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
 

Functions

std::ostream & StormByte::operator<< (std::ostream &stream, const CString &text)
 Writes text to stream.
 
bool StormByte::operator== (const char *str, const CString &text) noexcept
 Content equality.
 
bool StormByte::operator!= (const char *str, const CString &text) noexcept
 Content inequality.
 
void StormByte::swap (CString &left, CString &right) noexcept
 Swaps two buffers.