AFAIK, binding a temporary to a const reference is perfectly legal in C++, I am doing that all the time.
I guess my problem has to do with the infamous "implicit sharing" of Qt data types. I think in this case it is breaking the C++ rules in a very dangerous way.




Reply With Quote

Bookmarks