Return the position in a path of the character following the root.
Declared in <bdls_pathutil.h>
static
int
getRootEnd(std::string_view const& path);
Return the 0-based position in the specified path of the character following the root. Note that a return value of 0 indicates a relative path. See []and Performance). See also for the definition of root.
0-based index of the character following the root
| Name | Description |
|---|---|
| path | filesystem path to examine |