[+] Added macro AU_ITERATE_ARRAY. Idiom for; for (AU_ITERATE_ARRAY(index, array)) , where index is the name of the index variable, and array is an array of any type of a known length

This commit is contained in:
Reece Wilson 2021-09-21 02:54:28 +01:00
parent fbf39d9d17
commit 0bcaddc5c7

View File

@ -94,4 +94,5 @@ name ## Shared_t name ## Shared(T... args) \
#define _new new (std::nothrow)
#endif
//#define AU_FWD(var) std::forward<decltype(var)>(var)
#define AU_FWD(var) std::forward<decltype(var)>(var)
#define AU_ITERATE_ARRAY(index, arry) AuUInt index = 0; index < AuArraySize(arry); index++