#ifndef URI_HH #define URI_HH #include #include #include namespace uri { // If input needs no decoding, input is returned. Otherwise dst // is modified and returned. If invalid encoding is found, nullopt is returned. std::optional decode(std::string_view input, std::string& dst); } // namespace uri #endif // URI_HH