I think this is a good idea, and created a new thread for it: How to support passing temporary buffers around