vibe.d beta banner
get vibe.d
0.8.3

Asynchronous I/O that doesn’t get in your way, written in D

GenericPath.this - multiple declarations

Function GenericPath.this

Constructs a path from its string representation.

this (
  string p
);

Throws

A PathValidationException is thrown if the given path string is not valid.

Function GenericPath.this

Constructs a path from a single path segment.

this (
  GenericPath.Segment segment
);

This is equivalent to calling the range based constructor with a single-element range.

Function GenericPath.this

Constructs a path from an input range of Segments.

this(R) (
  R segments
)
if (isInputRange!R && is(ElementType!R : Segment));

Throws

Since path segments are pre-validated, this constructor does not throw an exception.

Authors

Sönke Ludwig

Copyright

© 2012-2017 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.