
28 Feb
2006
28 Feb
'06
6:53 a.m.
Peter Dimov wrote:
I applied this part of your patch; for the rest, I'd rather wait for a test case.
Thanks, and a fair request. Since I discovered add_const< add_ref< T > > produces a different type to add_ref< add_const< T > > on this compiler, I have a defensive coding practice of preferring const T over T const. The former should always produce a valid C++ type, the latter is strange with references. I will see if I can produce a test case for this specific example, or if my alarm bells are simply ringing in a lase alarm. -- AlisdairM