[cfe-dev] Why a formalparameter object can not be treated as object reference

John McCall rjmccall at apple.com
Tue Oct 30 22:02:57 PDT 2012


On Oct 30, 2012, at 8:35 PM, 王长城 wrote:
> Thanks for your help,but why my test case can compile and run well on VS2012, they do not fix this bug still?

They will never fix this bug.  There is far too much code relying on it.

C++ programs generally have very poor portability between implementations,
but moving from MSVC in particular is well-known to be painful.  This is
unlikely to be the only problem you're going to run into.

John.



More information about the cfe-dev mailing list