std.format.internal.write

Types 4

none
hasSomeToString
inCharSink
inCharSinkFormatString
inCharSinkFormatSpec
constCharSink
constCharSinkFormatString
constCharSinkFormatSpec
customPutWriter
customPutWriterFormatSpec
none
integer
fractionalDigits
allDigits
ZERO
LOWER
FIVE
UPPER
up
down
toZero
toNearestTiesToEven
toNearestTiesAwayFromZero

Functions 29

fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(BooleanTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(immutable T == immutable typeof(null)) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(IntegralTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(FloatingPointTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(immutable T : immutable creal) && !is(T == enum) && !hasToString!(T, Char))
deprecated Use of complex types is deprecated. Use std.complex
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(immutable T : immutable ireal) && !is(T == enum) && !hasToString!(T, Char))
deprecated Use of imaginary types is deprecated. Use std.complex
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(CharTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, scope const(T) obj, scope const ref FormatSpec!Char f) if (is(StringTypeOf!T) && !is(StaticArrayTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, auto ref T obj, scope const ref FormatSpec!Char f) if (is(StaticArrayTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, T obj, scope const ref FormatSpec!Char f) if (is(DynamicArrayTypeOf!T) && !is(StringTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatChar(Writer)(ref Writer w, in dchar c, in char quote)
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, T obj, scope const ref FormatSpec!Char f) if (is(AssocArrayTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(T == class) && !is(T == enum))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(T == interface) && (hasToString!(T, Char) || !is(BuiltinTypeOf!T)) && !is(T == enum))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, auto ref T val, scope const ref FormatSpec!Char f) if ((is(T == struct) || is(T == union)) && (hasToString!(T, Char) || !is(BuiltinTypeOf!T)) && !is(T == enum))
fnvoid enforceValidFormatSpec(T, Char)(scope const ref FormatSpec!Char f)
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(T == enum))
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, scope const(T) val, scope const ref FormatSpec!Char f) if (isPointer!T && !is(T == enum) && !hasToString!(T, Char))
fnvoid formatValueImpl(Writer, V, Char)(auto ref Writer w, const(V) val, scope const ref FormatSpec!Char f) if (isSIMDVector!V)
fnvoid formatValueImpl(Writer, T, Char)(auto ref Writer w, scope const(T), scope const ref FormatSpec!Char f) if (isDelegate!T)
fnvoid formatElement(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(StringTypeOf!T) && !hasToString!(T, Char) && !is(T == enum))
fnvoid formatElement(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(CharTypeOf!T) && !is(T == enum))
fnvoid formatElement(Writer, T, Char)(auto ref Writer w, auto ref T val, scope const ref FormatSpec!Char f) if ((!is(StringTypeOf!T) || hasToString!(T, Char)) && !is(CharTypeOf!T) || is(T == enum))
fnint getNthInt(string kind, A...)(uint index, A args)
fnT getNth(string kind, alias Condition, T, A...)(uint index, A args)
fnvoid writeAligned(Writer, T, Char)(auto ref Writer w, T s, scope const ref FormatSpec!Char f) if (isSomeString!T)
fnvoid writeAligned(Writer, T1, T2, T3, Char)(auto ref Writer w, T1 prefix, T2 grouped, T3 suffix, scope const ref FormatSpec!Char f, bool integer_precision = false) if (isSomeString!T1 && isSomeString!T2 && isSomeString!T3)
fnvoid writeAligned(Writer, T1, T2, T3, T4, Char)(auto ref Writer w, T1 prefix, T2 grouped, T3 fracts, T4 suffix, scope const ref FormatSpec!Char f, PrecisionType p = PrecisionType.none) if (isSomeString!T1 && isSomeString!T2 && isSomeString!T3 && isSomeString!T4)
fnbool round(T)(ref T sequence, size_t left, size_t right, RoundingClass type, bool negative, char max = '9')

Templates 1

tmplhasToString(T, Char)