MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / subpath

Method subpath

src/toml.hpp:11249–11259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11247 }
11248
11249 TOML_EXTERNAL_LINKAGE
11250 path path::subpath(std::vector<path_component>::const_iterator start,
11251 std::vector<path_component>::const_iterator end) const
11252 {
11253 if (start >= end)
11254 return {};
11255
11256 path subpath;
11257 subpath.components_.insert(subpath.components_.begin(), start, end);
11258 return subpath;
11259 }
11260
11261 TOML_EXTERNAL_LINKAGE
11262 path path::subpath(size_t start, size_t length) const

Callers

nothing calls this directly

Calls 1

beginFunction · 0.85

Tested by

no test coverage detected