StreamFormatOp

Members

Functions

opBinary
typeof(this) opBinary(T c)
opBinary
typeof(this) opBinary(T c)
const(C)[] opBinary(T c)

Examples

auto name = "D";
auto ver = 2.0;
assert(stringBuf() << "Hi " << name << ver << "!\n" << getData == "Hi D2.0!\n");
auto name = "D"w;
auto ver = 2;
assert(wstringBuf() << "Hi "w << name << ver << "!\n"w << getData == "Hi D2!\n"w);
auto name = "D"d;
auto ver = 2UL;
assert(dstringBuf() << "Hi "d  << name << ver << "!\n"d << getData == "Hi D2!\n");

Meta