bc-string ~master (2021-10-17T08:40:59Z)
Dub
Repo
shortestIndent.shortestIndent
bc
string
string
dedent
shortestIndent
Undocumented in source.
enum
shortestIndent
;
enum
shortestIndent
;
enum
shortestIndent
;
template
shortestIndent
(alias str, size_t prev = size_t.max)
nothrow @
nogc
static if
(!(
line.length == 0
))
static if
(!(
line.length == stripped.length
))
enum
shortestIndent
=
cur
>
next
?
next
:
cur
;
Meta
Source
See Source File
bc
string
string
dedent
shortestIndent
manifest constants
cur
line
next
shortestIndent
stripped