rmisev / url_whatwg

An implementation of the WHATWG URL Standard in C++
https://upa-url.github.io/docs/
Other
9 stars 0 forks source link

Add operator== and std::hash specialization for upa::url #12

Closed rmisev closed 9 months ago

rmisev commented 9 months ago

This allows to use upa::url as key in unordered containers.

codecov[bot] commented 9 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (9d9fdfd) 99.09% compared to head (3f3ece8) 99.09%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12 +/- ## ======================================= Coverage 99.09% 99.09% ======================================= Files 15 15 Lines 2198 2202 +4 ======================================= + Hits 2178 2182 +4 Misses 20 20 ``` | [Files](https://app.codecov.io/gh/rmisev/url_whatwg/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rimas+Misevi%C4%8Dius) | Coverage Δ | | |---|---|---| | [include/upa/url.h](https://app.codecov.io/gh/rmisev/url_whatwg/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rimas+Misevi%C4%8Dius#diff-aW5jbHVkZS91cGEvdXJsLmg=) | `99.74% <100.00%> (+<0.01%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.