|
5.1.0
Freundlich's C++ toolkit
|
Indent functions.
This library provides a simple way to do indented output:
Consider a simple tree type:
An output function that indents each level of the tree can be written as follows:
The following code
will output
Classes | |
| class | fcppt::indent::print |
| Provides an output operator for indents. More... | |
Typedefs | |
| using | fcppt::indent::level = fcppt::strong_typedef< unsigned ,_> |
| The integer type for indents. | |
Functions | |
| fcppt::indent::level | fcppt::indent::extra (fcppt::indent::level const _level) |
| Increases the indent level. | |
| fcppt::indent::level | fcppt::indent::start () |
| The starting indent level. | |
| using fcppt::indent::level = fcppt::strong_typedef< unsigned ,_> |
The integer type for indents.
|
inlinenodiscard |
Increases the indent level.
|
inline |
The starting indent level.