MCPcopy Create free account
hub / github.com/boostorg/filesystem / first_element

Function first_element

src/path.cpp:169–172  ·  view source on GitHub ↗

Finds position and size of the first element of the path

Source from the content-addressed store, hash-verified

167
168// Finds position and size of the first element of the path
169inline void first_element(string_type const& src, size_type& element_pos, size_type& element_size)
170{
171 first_element(src, element_pos, element_size, src.size());
172}
173
174// Checks if the second string overlaps in memory with the first string
175inline bool is_overlapping(string_type const& str, const value_type* arg)

Callers 1

beginMethod · 0.85

Calls 4

sizeMethod · 0.45
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected