Misc
Contents:
- Exploring C++ Undefined Behavior Using Constexpr
- Constant Expressions
- An Example with Arithmetic Overflow
- Conversions and values that can not be represented
- Division by zero
- Shifty characters
- Everyones favorite pointer, nullptr
- More pointer fun
- End of life
- Flowing off the end of a value returning function
- Modifying a constant object
- Accessing a non-active union member
- Casting int to enum outside its range
- Multiple unsequenced modifications
- One More Inconsistency, Guaranteed Copy Elision
- An Example, A Strong Integer Type
- Conclusion
- P.S.