Skip to content
Welcome to the new CppUtils documentation!
using CppUtils::Terminal::FixedAreaBuffer<Width, Height>::Line = std::array<CharCell, Width>;
using CppUtils::Terminal::FixedAreaBuffer<Width, Height>::Buffer = std::array<Line, Height>;
static constexpr constexpr auto size = Container::Size2{Width, Height};
[[nodiscard]] constexpr auto FixedAreaBuffer::getSize() const noexcept -> Container::Size2<> override;
constexpr FixedAreaBuffer::FixedAreaBuffer(CharCell defaultCell = {});
constexpr FixedAreaBuffer::FixedAreaBuffer(char defaultChar);
constexpr FixedAreaBuffer::FixedAreaBuffer(Buffer buffer);
[[nodiscard]] constexpr auto FixedAreaBuffer::getChar(const Container::Size2<>& position) const noexcept -> const CharCell& final;
constexpr auto FixedAreaBuffer::setChar(const Container::Size2<>& position, const CharCell& c) noexcept -> void final;
[[nodiscard]] constexpr auto FixedAreaBuffer::getBuffer() const noexcept [[clang::lifetimebound, msvc::lifetimebound]] -> const Buffer&;