ae2f_docs
eval.cc
Go to the documentation of this file.
1#include "ae2f/Cast.h"
2#include <ae2f/Call.h>
3#include <stdio.h>
4
5ae2f_evaldef(
6 template<int a>, <a>
8 , int, Hello, _Hello, char v, v)
9{ return v + a; }
10
11/*
12 * ae2f_evaldef(tmpldef, tmpluse, keyeval, keyexpr, ret_t, nameeval, nameexpr, prmdef, prmuse)
13 */
14
15int main() {
16 int a = _Hello<0>(2);
17 int* restrict v = 0;
18 printf("%d\n", a);
19 return 0;
20}
#define constextendedeval
Definition Constexpr.hpp:45
#define constextendedfun
Definition Constexpr.hpp:42
int main()