Sequoia
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
sequoia::indentation Class Reference

Type-safe mechanism for indentations. More...

#include <Indent.hpp>

Public Types

using size_type = std::string::size_type
 

Public Member Functions

 indentation (std::string s)
 
 operator std::string_view () const noexcept
 
indentationappend (size_type count, char c)
 
indentationappend (const std::string &s)
 
indentationtrim (size_type count)
 

Friends

indentation operator+ (const indentation &lhs, const indentation &rhs)
 
bool operator== (const indentation &, const indentation &) noexcept=default
 

Detailed Description

Type-safe mechanism for indentations.


The documentation for this class was generated from the following file: