4#include "Stroika/Foundation/StroikaPreComp.h"
9#include "Stroika/Foundation/Containers/SortedMapping.h"
10#include "Stroika/Foundation/DataExchange/BadFormatException.h"
42 fSuffix_ =
matches[2].SubString (1);
87 sb << fType_.GetPrintName () <<
"/"sv << fSubType_.GetPrintName ();
89 sb <<
"+"sv << fSuffix_->GetPrintName ();
91 for (
const auto&
p : fParameters_) {
92 sb <<
"; "sv <<
p.fKey <<
": "sv <<
p.fValue;
97strong_ordering InternetMediaType::THREEWAYCOMPARE_ (
const InternetMediaType& rhs)
const
100 if (
cmp != strong_ordering::equal) {
104 if (
cmp != strong_ordering::equal) {
107 cmp = Common::StdCompat::compare_three_way{}(fSuffix_,
rhs.fSuffix_);
108 if (
cmp != strong_ordering::equal) {
111 if (fParameters_.empty ()
and rhs.fParameters_.empty ()) {
112 return strong_ordering::equal;
116 using namespace Containers;
118#if qCompilerAndStdLib_template_DefaultArgIgnoredWhenFailedDeduction_Buggy
133 return hash<wstring>{}(arg.
As<wstring> ());
RegularExpression is a compiled regular expression which can be used to match on a String class.
Similar to String, but intended to more efficiently construct a String. Mutable type (String is large...
String is like std::u32string, except it is much easier to use, often much more space efficient,...
nonvirtual String SubString(SZ from) const
A generalization of a vector: a container whose elements are keyed by the natural numbers.
String ToString(T &&t, ARGS... args)
Return a debug-friendly, display version of the argument: not guaranteed parsable or usable except fo...
void Throw(T &&e2Throw)
identical to builtin C++ 'throw' except that it does helpful, type dependent DbgTrace() messages firs...
very similar to ThreeWayComparer but returns true if less
function object which serializes type T to a BLOB (or BLOB like) object
Memory::BLOB operator()(const T &t) const