7#include "utility/module.hpp"
9namespace hi::inline
v1 {
17 [[nodiscard]]
constexpr ~indent()
noexcept =
default;
18 [[nodiscard]]
constexpr indent()
noexcept =
default;
19 [[nodiscard]]
constexpr indent(indent
const& other)
noexcept =
default;
20 [[nodiscard]]
constexpr indent(indent&& other)
noexcept =
default;
21 [[nodiscard]]
constexpr indent& operator=(indent
const& other)
noexcept =
default;
22 [[nodiscard]]
constexpr indent& operator=(indent&& other)
noexcept =
default;
30 [[nodiscard]]
constexpr indent(
int spaces,
char space =
' ') noexcept : _space(space), _spaces(spaces), _depth(0) {}
57 [[nodiscard]]
constexpr friend indent
operator+(indent lhs,
int rhs)
noexcept
DOXYGEN BUG.
Definition algorithm.hpp:13
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:367
constexpr indent(int spaces, char space=' ') noexcept
Constructor This constructor will start indentation at depth 0.
Definition indent.hpp:30
constexpr friend indent operator+(indent lhs, int rhs) noexcept
Get an indentation at increased depth.
Definition indent.hpp:57
constexpr indent & operator++() noexcept
Increment the depth of this indentation.
Definition indent.hpp:49
constexpr indent & operator+=(int rhs) noexcept
Increase the depth of this indentation.
Definition indent.hpp:41