uri: add accessor for base value
This commit is contained in:
parent
3cf386390f
commit
bdcb5c03c7
1
uri.hpp
1
uri.hpp
@ -74,6 +74,7 @@ namespace cruft {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cruft::view<const char*> all (void) const& { return cruft::make_view (m_value); }
|
cruft::view<const char*> all (void) const& { return cruft::make_view (m_value); }
|
||||||
|
std::string const& value (void) const& { return m_value; }
|
||||||
|
|
||||||
cruft::view<const char*> scheme (void) const& { return get (SCHEME); }
|
cruft::view<const char*> scheme (void) const& { return get (SCHEME); }
|
||||||
cruft::view<const char*> heirarchical (void) const& { return get (HIERARCHICAL); }
|
cruft::view<const char*> heirarchical (void) const& { return get (HIERARCHICAL); }
|
||||||
|
Loading…
Reference in New Issue
Block a user