codex
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
x
y
z
Functions
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
w
x
z
Variables
_
a
b
c
f
g
l
m
n
r
s
t
v
y
Typedefs
Enumerations
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
h
i
j
m
n
o
p
r
s
t
u
v
Typedefs
Enumerations
Enumerator
b
c
e
k
m
n
p
q
r
s
w
Macros
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Concepts
Loading...
Searching...
No Matches
print.hpp
Go to the documentation of this file.
1
#ifndef CODEX_LUA_PRINT_H
2
#define CODEX_LUA_PRINT_H
3
4
#include <iostream>
5
6
#include "
gen.hpp
"
7
#include "
utils.hpp
"
8
9
template
<fixed_
string
_view s>
10
std::ostream &
operator<<
(std::ostream &o,
identifier<s>
) {
11
return
o <<
"identifier<"
<< std::string_view{
s
} <<
'>'
;
12
}
10
std::ostream &
operator<<
(std::ostream &o,
identifier<s>
) {
…
}
13
14
template
<fixed_
string
_view s>
15
std::ostream &
operator<<
(std::ostream &o,
number<s>
) {
16
return
o <<
"number<"
<< std::string_view{
s
} <<
'>'
;
17
}
15
std::ostream &
operator<<
(std::ostream &o,
number<s>
) {
…
}
18
19
template
<fixed_
string
_view s>
20
std::ostream &
operator<<
(std::ostream &o,
string<s>
) {
21
return
o <<
"string<"
<< std::string_view{
s
} <<
'>'
;
22
}
20
std::ostream &
operator<<
(std::ostream &o,
string<s>
) {
…
}
23
24
std::ostream &
operator<<
(std::ostream &o,
table_begin
) {
25
return
o <<
"table_begin"
;
26
}
24
std::ostream &
operator<<
(std::ostream &o,
table_begin
) {
…
}
27
28
std::ostream &
operator<<
(std::ostream &o,
table_key
) {
29
return
o <<
"table_key"
;
30
}
28
std::ostream &
operator<<
(std::ostream &o,
table_key
) {
…
}
31
32
std::ostream &
operator<<
(std::ostream &o,
table_value
) {
33
return
o <<
"table_value"
;
34
}
32
std::ostream &
operator<<
(std::ostream &o,
table_value
) {
…
}
35
36
std::ostream &
operator<<
(std::ostream &o,
table_end
) {
37
return
o <<
"table_end"
;
38
}
36
std::ostream &
operator<<
(std::ostream &o,
table_end
) {
…
}
39
40
#endif
gen.hpp
operator<<
std::ostream & operator<<(std::ostream &o, identifier< s >)
Definition
print.hpp:10
identifier
Definition
gen.hpp:12
number
Definition
gen.hpp:15
string
Definition
gen.hpp:18
table_begin
Definition
gen.hpp:20
table_end
Definition
gen.hpp:23
table_key
Definition
gen.hpp:21
table_value
Definition
gen.hpp:22
s
constexpr fixed_string s
Definition
test.cpp:6
utils.hpp
tmp
q
lua
print.hpp
Generated by
1.11.0