Format Item aligned within a field of width Amount.

Synopsis

Declared in <llvm/Support/FormatAdapters.h>

template<typename T>
/* implementation-defined */
fmt_align(
    T&& Item,
    AlignStyle Where,
    size_t Amount,
    char Fill = ' ');

Return Value

An adapter that formats Item aligned within the field.

Parameters

Name

Description

Item

Value to format.

Where

Alignment of the value within the field.

Amount

Field width in characters.

Fill

Pad character for unused space in the field.

Created with MrDocs