On Wed, Aug 27, 2003 at 05:46:50PM +0000, He HongFu wrote: > Hi, All > Why I cannot compile it when I use a temporary object as an parameter of a reference. > but MSC can compile it sucessfully. This is a bug in MSC. It's not legal to initialize a non-const reference with a temporary object.