|
|
constexpr | indent (indent const &other) noexcept=default |
| |
|
constexpr | indent (indent &&other) noexcept=default |
| |
|
constexpr indent & | operator= (indent const &other) noexcept=default |
| |
|
constexpr indent & | operator= (indent &&other) noexcept=default |
| |
| constexpr | indent (int spaces, char space=' ') noexcept |
| | Constructor This constructor will start indentation at depth 0.
|
| |
| | operator std::string () const noexcept |
| | String conversion operator.
|
| |
| constexpr indent & | operator+= (int rhs) noexcept |
| | Increase the depth of this indentation.
|
| |
| constexpr indent & | operator++ () noexcept |
| | Increment the depth of this indentation.
|
| |
Indentation for writing out text files.
This type is used to pass indentation information recursivly to add indentation to text files, like for example json.