4 ms·
I don't regard this as a "perverse" hack. If I ever do embedded memory mapped stuff in C11 this is way too tempting.
by rightbyte 5y ago
I don't regard this as a "perverse" hack. If I ever do embedded memory mapped stuff in C11 this is way too tempting.
- midjji 5y agoYou are practically guaranteed to invoke undefined behaviour if you do. Just use a map on a std::array of e.g. std::byte
- dexterhaslem 5y agothey said C11 tho