15#if ADA_DEVELOPMENT_CHECKS
32template <
typename out_iter>
49 std::string_view&
input)
noexcept;
100bool overlaps(std::string_view
input1,
const std::string&
input2)
noexcept;
110#if ADA_DEVELOPMENT_CHECKS
112 std::cerr <<
"Negative-length substring: [" <<
pos1 <<
" to " <<
pos2 <<
")"
133 bool is_special, std::string_view&
view)
noexcept;
140void trim_c0_whitespace(std::string_view&
input)
noexcept;
147template <
class url_type>
155find_authority_delimiter_special(std::string_view
view)
noexcept;
162find_authority_delimiter(std::string_view
view)
noexcept;
167template <
typename T,
typename...
Args>
168inline void inner_concat(std::string& buffer,
T t) {
175template <
typename T,
typename...
Args>
176inline void inner_concat(std::string& buffer,
T t,
Args...
args) {
178 return inner_concat(buffer,
args...);
186template <
typename...
Args>
198#if ADA_REGULAR_VISUAL_STUDIO
213inline int fast_digit_count(
uint32_t x)
noexcept {
215 return 31 - ada::helpers::leading_zeroes(
z | 1);
222 4294967296, 8589934582, 8589934582, 8589934582, 12884901788,
223 12884901788, 12884901788, 17179868184, 17179868184, 17179868184,
224 21474826480, 21474826480, 21474826480, 21474826480, 25769703776,
225 25769703776, 25769703776, 30063771072, 30063771072, 30063771072,
226 34349738368, 34349738368, 34349738368, 34349738368, 38554705664,
227 38554705664, 38554705664, 41949672960, 41949672960, 41949672960,
228 42949672960, 42949672960};
Cross-platform compiler macros and common definitions.
#define ada_really_inline
Includes the definitions for helper functions.
const uint32_t table[8198][2]
type
Enumeration of URL scheme types.
ada_warn_unused ada::result< result_type > parse(std::string_view input, const result_type *base_url=nullptr)
Base class and common definitions for URL types.