-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
108 lines (99 loc) · 4.16 KB
/
main.cpp
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/* Import */
#define LAPYS_HOSTED true
#define LAPYS_PREPROCESSOR_GUARD false
#include <cstdio>
#include "lapys.hpp"
/* ... */
using namespace Lapys;
/* Main */
template <typename cumulation, typename base, std::size_t>
struct cumulate {
// typedef cumulation (*bruh)[sizeof(*instanceof<base>())];
};
template <typename, std::size_t>
struct map {
typedef void type;
};
struct object { int member; object(object const&, ...) {} };
struct subobject : object {};
struct add {
static int value(int, int);
};
// ...
int main(int, char*[]) /* noexcept(true) */ {
// access_pointer // x .* y
// add // x + y
// address // &x
// assign // x = y
// assign_add // x += y
// assign_bitwise_and // x &= y
// assign_bitwise_or // x |= y
// assign_bitwise_shift_left // x <<= y
// assign_bitwise_shift_right // x >>= y
// assign_bitwise_xor // x ^= y
// assign_divide // x /= y
// assign_modulo // x %= y
// assign_multiply // x *= y
// assign_subtract // x -= y
// bitwise_and // x & y
// bitwise_or // x | y
// bitwise_shift_left // x << y
// bitwise_shift_right // x >> y
// bitwise_xor // x ^ y
// boolean_and // x && y
// boolean_or // x || y
// call // x (...)
// call_static // x::operator ()(...)
// cast // (x) y
// cast_const // const_cast <x>(y)
// cast_dynamic // dynamic_cast <x>(y)
// cast_reinterpret // reinterpret_cast<x>(y)
// cast_static // static_cast <x>(y)
// comma // x , y
// compare // x <=> y
// complement // ~x
// construct // x(...)
// delete_array // delete[] x
// delete_object // delete x
// dereference // *x
// dereferenced_access // x -> y
// dereferenced_access_pointer // x ->* y
// divide // x / y
// equals // x == y
// greater // x > y
// greater_equals // x >= y
// initialize // x{...}
// lesser // x < y
// lesser_equals // x <= y
// minus // x - y
// modulo // x % y
// multiply // x * y
// negate // !x
// new_array // new x[y]{...}
// new_array_placement // new (x) y[z]{...}
// new_constructed // new x (...)
// new_constructed_placement // new (x) y (...)
// new_initialized // new x {...}
// new_initialized_placement // new (x) y {...}
// plus // +x
// post_decrement // x--
// post_increment // x++
// pre_decrement // --x
// pre_increment // ++x
// scope // x :: y
// subscript // x [...]
// subscript_static // x::operator [](...)
// subtract // x - y
// trilean_conditional // x ? y : z
// unequals // x != y
// opinfo::nonoverloaded::operate<opinfo::add, int, int>::is_same <int>::value;
// opinfo::nonoverloaded::operate<opinfo::add, int, int>::is_similar<int>::value(2 + 2);
// opinfo::nonoverloaded::operate<opinfo::add, int, int>::type;
// opinfo::nonoverloaded::operate<opinfo::add, int, int>::value;
// instanceof<collection<int (*)[1], int (*)[2], int (*)[3]>::build<cumulate>::type>() * 2;
// std::printf("%1.13s", "Hello, World!");
return 0x00; // --> EXIT_SUCCESS
}
// void Lapys::Main(CommandLineArguments const& arguments) {
// static_cast<void>(arguments);
// }