Go to the documentation of this file.
5#include "indep/macro/overload.hpp"
8#define BY_LIST_PAIR_X_2(x1, y1) x1
9#define BY_LIST_PAIR_X_4(x1, y1, x2, y2) x1, x2
10#define BY_LIST_PAIR_X_6(x1, y1, x2, y2, x3, y3) x1, x2, x3
11#define BY_LIST_PAIR_X_8(x1, y1, x2, y2, x3, y3, x4, y4) x1, x2, x3, x4
12#define BY_LIST_PAIR_X_10(x1, y1, x2, y2, x3, y3, x4, y4, x5, y5) x1, x2, x3, x4, x5
13#define BY_LIST_PAIR_X(...) BY_OVERLOAD(BY_LIST_PAIR_X, __VA_ARGS__)
15#define BY_LIST_PAIR_Y_2(x1, y1) y1
16#define BY_LIST_PAIR_Y_4(x1, y1, x2, y2) y1, y2
17#define BY_LIST_PAIR_Y_6(x1, y1, x2, y2, x3, y3) y1, y2, y3
18#define BY_LIST_PAIR_Y_8(x1, y1, x2, y2, x3, y3, x4, y4) y1, y2, y3, y4
19#define BY_LIST_PAIR_Y_10(x1, y1, x2, y2, x3, y3, x4, y4, x5, y5) y1, y2, y3, y4, y5
20#define BY_LIST_PAIR_Y(...) BY_OVERLOAD(BY_LIST_PAIR_Y, __VA_ARGS__)