FileFlags.opAssign

Constructs the file flags from a mode string.

This simply calls FileFlags.parse.

struct FileFlags
pure
void
opAssign
(
string mode
)

Examples

FileFlags ff = "wb+";
assert(ff == FileFlags.readWriteEmpty);
assert(ff == FileFlags("wb+"));

See Also

Meta