Home | Libraries | People | FAQ | More |
(Inherited from segments_base
)
Return the last segment.
std::string back() const;
this->empty() == false
assert( url_view( "/path/to/file.txt" ).segments().back() == "file.txt" );
this->empty() == false
return *--end();
Linear in this->back().size()
.
Calls to allocate may throw.