|List:||MySQL++||« Previous MessageNext Message »|
|From:||Joseph Artsimovich||Date:||February 20 2007 2:23pm|
|Subject:||Re: Two bugs in 2.2.0|
|View as plain text|
> So what? > The temporary is guaranteed to exist as long as the reference is in scope. > > See 12.2 paragraph 5 in the C++ standard. I don't have access to C++ standard, but a simple test shows you are right. Then your solution is obviously better than mine.