What is the storage duration of a temporary object: automatic, thread, static, or dynamic?
I know that the lifetime of a temporary object ends at or before the full expression where it was created, unless it is bound to a reference, in which case its lifetime is extended to that of the reference and that gives us a lower bound for the end of the storage duration of the temporary object.