------- Comment #30 from pinskia at gcc dot gnu dot org 2010-08-12 18:27 ------- >you can't even begin to understand how to make a temporary variable an l-value.
Please look up "move constructors" and rvalue references. "move constructors" are not standard C++ code but the C++ standard committee decided to add rvalue references instead. Please read the history of those and then come back when you understand what you are talking about. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45265