Path.this

Convert from one type of Path to another.

  1. this(const(C)[] path)
  2. this(T[] path)
    struct Path(C = char)
    this
    (
    T
    )
    (
    T[] path = "."
    )
    if (
    isSomeChar!T
    )
    if (
    is(C == char)
    )

Examples

auto pathStr = Path("foo"); auto pathWStr = Path!wchar(pathStr); auto pathDStr = Path!dchar(pathStr); pathStr = Path(pathWStr); pathStr = Path(pathDStr);

Meta