-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalias_arguments_count.hpp
49 lines (45 loc) · 7.75 KB
/
alias_arguments_count.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#pragma once
namespace alias_c
{
template<template<class> class F> constexpr size_t alias_argc() { return 1; }
template<template<class, class> class F> constexpr size_t alias_argc() { return 2; }
template<template<class, class, class> class F> constexpr size_t alias_argc() { return 3; }
template<template<class, class, class, class> class F> constexpr size_t alias_argc() { return 4; }
template<template<class, class, class, class, class> class F> constexpr size_t alias_argc() { return 5; }
template<template<class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 6; }
template<template<class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 7; }
template<template<class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 8; }
template<template<class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 9; }
template<template<class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 10; }
template<template<class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 11; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 12; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 13; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 14; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 15; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 16; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 17; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 18; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 19; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 20; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 21; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 22; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 23; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 24; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 25; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 26; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 27; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 28; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 29; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 30; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 31; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 32; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 33; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 34; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 35; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 36; }
template<template<class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class, class> class F> constexpr size_t alias_argc() { return 37; }
template<template<class...> class F, class ...Typs> struct alias_invoke
{
using type = F<Typs...>;
};
}