Сравнение постов
Различия между постами
#126477 (02.09.2019 20:04)
и
#140614 (07.08.2020 20:16).
1 | #define STRAIT_BOARD(first, second, last) \ | |
1 | ||
2 | constexpr uint32_t straitBoard_##first##_##last = static_cast< uint32_t >( Card::valCard::_##first ) |\ | |
3 | static_cast< uint32_t >( Card::valCard::_##second ) |\ | |
4 | static_cast< uint32_t >( Card::valCard::_##last ) | |
5 | ||
6 | STRAIT_BOARD(3, 4, 5); | |
7 | STRAIT_BOARD(4, 5, 6); | |
8 | STRAIT_BOARD(5, 6, 7); | |
9 | STRAIT_BOARD(6, 7, 8); | |
10 | STRAIT_BOARD(7, 8, 9); | |
11 | STRAIT_BOARD(8, 9, T); | |
12 | STRAIT_BOARD(9, T, J); |