In C++ they're alternative tokens and should be keywords, so maybe googletest is providing them as macros as workaround for a compile that didn't support this?
In other words, maybe a computer flag would allow you to disable them being defined?
I self learned to type using "Iankey"[0] (the manual[1]). In my opinion, it is one of the best training tools I tried - I should search around my old backups to see if I can still find it.
The "fully charged show" sometimes have videos on this and similar topics. This [0] video goes through the pros and cons of using hydrogen in different ways
My takeaway is that as much of the energy as possible should be used without converting it. This avoids the substantial losses converting to and from hydrogen. But storage is one of the viable uses.
SE/SE is called out explicitly in the ISO26262 documents (functional safety in road vehicles). This makes it easy to defend the inclusion of such a guideline, even if you may not agree with it.
But as it happens, MISRA C++:2023 doesn't have this guideline.
Definitely a generalisation, but i would see them as two sides of the same coin.
If Cert has something about an API, then it will have an example of misuse of it and then an example showing its correct use.
MISRA might either prohibit it's use completely (if there's a safe alternative), or with require some boilerplate step be taken every time the API is used.
You're right! That's the thing with C++ - you learn something new everyday.
I had misread your original post. I thought the example was something like "std::cout << 97".
This is unfortunate. I imagine it came about when "cstdint" was introduced. Fixing it would require a break in compatibility with any existing code that "expected" that all char types printed a character, rather than value.
Virtual inheritance changes the order that sub-objects are constructed and destructed. This might be used where a base class manages the lifetime of a resource and other types in the hierarchy operate on that - and so need the resource to be "alive" even during their destruction.
*Scoped bound resource management... which I had to look up because I never remember it!