12 inline IfNoneMatch::IfNoneMatch (
const Containers::Sequence<ETag>& etags)
16 inline bool IfNoneMatch::IsAsterisk ()
const
18 return fETags.empty ();
20 inline optional<IfNoneMatch> IfNoneMatch::Parse (
const String& wireFormat)
35 wstring t = wireFormat.
As<wstring> ();
37 bool readingETag =
false;
38 for (
auto i = t.begin (); i != t.end (); ++i) {
42 if (
auto oe = ETag::Parse (curETagToken)) {
45 curETagToken.
clear ();
54 if (*i ==
'W' or *i ==
'\"') {
String is like std::u32string, except it is much easier to use, often much more space efficient,...
A generalization of a vector: a container whose elements are keyed by the natural numbers.
Iterable<T> is a base class for containers which easily produce an Iterator<T> to traverse them.