It is sometimes necessary for the C++ compiler to create temporary objects.They are used during:
- Reference initialization.
- Evaluation of expressions including standard type conversions.
- Argument passing.
- Function returns.
- Evaluation of the throw expression.
Continue reading “Hacking on Clang to demystify the temporary objects”