1 #pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi"). 12 const int indent_size = 4
16 const auto indent =
spaces( indent_size );
18 string formatted =
left( bullet, indent_size );
20 for(
const char ch : s )
22 if( prev_ch ==
'\n' ) { formatted += indent; }
auto left(const string_view &s, const int width) -> string
CPPX_USE_STD(basic_string, basic_string_view, bitset, char_traits, size)
auto is_empty(const Collection &c) -> Truth
auto spaces(const int n) -> string
auto monospaced_bullet_block(const string_view &s, const string_view &bullet=best_effort::bullet_str, const int indent_size=4) -> string
constexpr auto & bullet_str