-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexp_macro.hpp
27 lines (27 loc) · 3.16 KB
/
exp_macro.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#define macro_invoke1(ma, a) ma(a)
#define macro_invoke2(ma, a,b) ma(a)ma(b)
#define macro_invoke3(ma, a,b,c) ma(a)ma(b)ma(c)
#define macro_invoke4(ma, a,b,c,d) ma(a)ma(b)ma(c)ma(d)
#define macro_invoke5(ma, a,b,c,d,e) ma(a)ma(b)ma(c)ma(d)ma(e)
#define macro_invoke6(ma, a,b,c,d,e,f) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)
#define macro_invoke7(ma, a,b,c,d,e,f,g) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)
#define macro_invoke8(ma, a,b,c,d,e,f,g,h) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)
#define macro_invoke9(ma, a,b,c,d,e,f,g,h,i) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)
#define macro_invoke10(ma, a,b,c,d,e,f,g,h,i,j) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)
#define macro_invoke11(ma, a,b,c,d,e,f,g,h,i,j,k) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)
#define macro_invoke12(ma, a,b,c,d,e,f,g,h,i,j,k,l) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)
#define macro_invoke13(ma, a,b,c,d,e,f,g,h,i,j,k,l,m) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)
#define macro_invoke14(ma, a,b,c,d,e,f,g,h,i,j,k,l,m,n) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)ma(n)
#define macro_invoke15(ma, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)ma(n)ma(o)
#define macro_invoke16(ma, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)ma(n)ma(o)ma(p)
#define macro_invoke17(ma, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)ma(n)ma(o)ma(p)ma(q)
#define macro_invoke18(ma, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)ma(n)ma(o)ma(p)ma(q)ma(r)
#define macro_invoke19(ma, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)ma(n)ma(o)ma(p)ma(q)ma(r)ma(s)
#define macro_invoke20(ma, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)ma(n)ma(o)ma(p)ma(q)ma(r)ma(s)ma(t)
#define macro_invoke21(ma, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u) ma(a)ma(b)ma(c)ma(d)ma(e)ma(f)ma(g)ma(h)ma(i)ma(j)ma(k)ma(l)ma(m)ma(n)ma(o)ma(p)ma(q)ma(r)ma(s)ma(t)ma(u)
#define mac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