MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / front

Method front

include/stringzilla/stringzilla.hpp:2910–2910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2908
2909 reference front() noexcept sz_lifetime_bound_ { return string_.internal.start[0]; }
2910 const_reference front() const noexcept sz_lifetime_bound_ { return string_.internal.start[0]; }
2911 reference back() noexcept sz_lifetime_bound_ { return string_.internal.start[size() - 1]; }
2912 const_reference back() const noexcept sz_lifetime_bound_ { return string_.internal.start[size() - 1]; }
2913 pointer data() noexcept sz_lifetime_bound_ { return string_.internal.start; }

Callers 6

operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
try_replace_all_Method · 0.45

Calls 1

spanClass · 0.85