ae2f_docs
Loading...
Searching...
No Matches
eval.cc
1
#
include
<
ae2f
/
Keys
.
h
>
2
#
include
<
stdio
.
h
>
3
4
ae2f_evaldef(
5
template
<
int
a>, <a>
6
,
ae2f_constextendedeval
,
ae2f_constextendedfun
7
,
int
, Hello, _Hello,
char
v, v)
8
{
return
v + a; }
9
10
/*
11
* ae2f_evaldef(tmpldef, tmpluse, keyeval, keyexpr, ret_t, nameeval, nameexpr, prmdef, prmuse)
12
*/
13
14
int
main(
void
) {
15
int
a = _Hello<0>(2);
16
void
*
ae2f_restrict
v =
ae2f_NIL
;
17
printf(
"%d, %p\n"
, a, v);
18
return
0;
19
}
ae2f_constextendedfun
#define ae2f_constextendedfun
Definition
Constexpr.h:43
ae2f_constextendedeval
#define ae2f_constextendedeval
Definition
Constexpr.h:46
ae2f_NIL
#define ae2f_NIL
Definition
Nil.h:13
ae2f_restrict
#define ae2f_restrict
Keyword as restrict on C99.
Definition
cc.h:81
submod
ae2f
Core
test
eval.cc
Generated by
1.15.0