[Bug c++/36744] function modifying argument received by-value affects caller's variable when passed as rvalue

gcc-bugzilla at contacts dot eelis dot net gcc-bugzilla@gcc.gnu.org
Sun Jul 6 14:48:00 GMT 2008



------- Comment #1 from gcc-bugzilla at contacts dot eelis dot net  2008-07-06 14:48 -------
Forgot to mention: compile with -std=c++0x.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36744



More information about the Gcc-bugs mailing list