qpcpp/doxygen/snippets/qs_objArrDic.cpp

7 lines
177 B
C++
Raw Normal View History

2022-05-09 14:52:11 -04:00
Philo Philo::inst;
. . .
for (std::uint8_t n = 0U; n < N_PHILO; ++n) {
QS_OBJ_ARR_DICTIONARY(&Philo::inst[n], n);
QS_OBJ_ARR_DICTIONARY(&Philo::inst[n].m_timeEvt, n);
}