MCPcopy Create free account
hub / github.com/comaps/comaps / GetLastParam

Method GetLastParam

libs/coding/url.hpp:36–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35 using Param = std::pair<std::string, std::string>;
36 Param const * GetLastParam() const { return m_params.empty() ? nullptr : &m_params.back(); }
37 std::string const * GetParamValue(std::string const & name) const
38 {
39 for (auto const & p : m_params)

Callers 1

UNIT_TESTFunction · 0.80

Calls 2

backMethod · 0.80
emptyMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.64