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, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
27 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
28 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
29 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
30 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
31 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
48 static constexpr char r[] =
"128";
55 static constexpr char r[] =
"127";
61 static constexpr char r[] =
"int8_t";
79 static constexpr char r[] =
"0";
86 static constexpr char r[] =
"255";
92 static constexpr char r[] =
"uint8_t";
110 static constexpr char r[] =
"32768";
117 static constexpr char r[] =
"32767";
123 static constexpr char r[] =
"int16_t";
141 static constexpr char r[] =
"0";
148 static constexpr char r[] =
"65535";
154 static constexpr char r[] =
"uint16_t";
172 static constexpr char r[] =
"2147483648";
179 static constexpr char r[] =
"2147483647";
185 static constexpr char r[] =
"int32_t";
203 static constexpr char r[] =
"0";
210 static constexpr char r[] =
"4294967295";
216 static constexpr char r[] =
"uint32_t";
234 static constexpr char r[] =
"9223372036854775808";
241 static constexpr char r[] =
"9223372036854775807";
247 static constexpr char r[] =
"int64_t";
265 static constexpr char r[] =
"0";
272 static constexpr char r[] =
"18446744073709551615";
278 static constexpr char r[] =
"uint64_t";
283 template <
typename Integer >
286 const std::uint8_t *
const mapping_table,
287 const char * data_begin,
288 const char * data_end,
289 bool apply_minus_sign,
308 template <
typename Integer >
311 const std::uint8_t *
const mapping_table,
312 const char * data_begin,
313 const char * data_end,
327 template <
typename Traits >
338 "invalid {} value: unsigned starts with minus",
359 "invalid {} value: max digits for type is {}",
static const char * max_representation()
static constexpr std::size_t digits_representation_max_size()
const C * digits_mapping()
static const char * min_representation()
static const char * min_representation()
static const char * type_name()
static constexpr std::size_t digits_representation_max_size()
static const char * min_representation()
Integer parse_integer_no_checks(const std::uint8_t *const mapping_table, const char *data_begin, const char *data_end, bool, std::false_type)
static constexpr std::size_t digits_representation_max_size()
static const char * type_name()
Traits::type_t parse_integer(const char *data_begin, const char *data_end)
static const char * min_representation()
static const char * max_representation()
static const char * max_representation()
static const char * min_representation()
static const char * min_representation()
static constexpr std::size_t digits_representation_max_size()
static const char * type_name()
static constexpr std::size_t digits_representation_max_size()
static const char * max_representation()
static const char * max_representation()
void normalize_to(string_view_t what, char *dest)
Perform normalization of URI value.
static const char * min_representation()
static const char * type_name()
static const char * type_name()
static constexpr std::size_t digits_representation_max_size()
static const char * min_representation()
static const char * max_representation()
static const char * type_name()
static constexpr std::size_t digits_representation_max_size()
static const char * max_representation()
static const char * type_name()
static constexpr std::size_t digits_representation_max_size()
static const char * type_name()
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, optional_t< Value_Type > >::type opt_value(const Parameter_Container ¶ms, string_view_t key)
Gets the value of a parameter specified by key wrapped in optional_t<Value_Type> if parameter exists ...
static const char * max_representation()