Iros
 
Loading...
Searching...
No Matches
parser_context.h
Go to the documentation of this file.
1#pragma once
2
6#include "di/meta/core.h"
7#include "di/meta/language.h"
8#include "di/types/size_t.h"
9
10namespace di::concepts {
11template<typename T>
13 requires(T& context, meta::ContainerIterator<T> it) {
14 typename T::Error;
15
16 { context.encoding() } -> SameAs<meta::Encoding<T>>;
17 { context.advance(it) } -> LanguageVoid;
18 { context.make_error() } -> SameAs<typename T::Error>;
19 };
20}
Definition container_of.h:9
Definition forward_container.h:8
Definition encoding.h:225
Definition core.h:128
Definition parser_context.h:12
Definition core.h:114
Definition any_storable.h:9
decltype(container::begin(util::declval< T & >())) ContainerIterator
Definition container_iterator.h:8