Skip to content
Welcome to the new CppUtils documentation!
constexpr CharCell::CharCell() = default;

constexpr CharCell::CharCell(char32_t c, CharAttributes attributes, std::size_t displayWidth);

constexpr CharCell::CharCell(char32_t c, CharAttributes attributes = {});

constexpr CharCell::CharCell(char c, CharAttributes attributes = {});

constexpr CharCell::CharCell( char32_t c, TextColor::TextColorEnum textColor, std::size_t displayWidth);

constexpr CharCell::CharCell( char32_t c, TextColor::TextColorEnum textColor);

constexpr CharCell::CharCell( char32_t c, TextColor::TextColorEnum textColor, BackgroundColor::BackgroundColorEnum backgroundColor, std::size_t displayWidth);

constexpr CharCell::CharCell( char32_t c, TextColor::TextColorEnum textColor, BackgroundColor::BackgroundColorEnum backgroundColor);

auto CharCell::operator==(const CharCell&) const noexcept -> bool = default;

[[nodiscard]] static auto CharCell::fromString( std::string_view text, std::size_t& bytesConsumed, const CharAttributes& attributes = {}) -> CharCell;

char32_t character;
CharAttributes attributes;
std::size_t displayWidth;