Arrays decay into pointers in conditional operator - by Ben Voigt - old ID

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 279444 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 5/31/2007 7:28:37 AM
Access Restriction Public

Description

If T is a template parameter which is a reference to an array, T decays 
unnecessarily into a pointer in the conditional operator.

This bug report is submitted at the request of Matthias Hoffman, please see thread "Explicitly specializing std::min() on VC++ 2005 Express Edition" on microsoft.public.vc.language
Sign in to post a comment.
Posted by Microsoft on 6/5/2007 at 3:29 PM
Thank you for sending us feedback. The Visual C++ team has evaluated the bug and determined it does not meet the guidelines necessary to warrant a fix. To understand these guidelines please refer to http://blogs.msdn.com/vcblog/articles/621116.aspx.

Unfortunately, the Visual C++ development team cannot provide workarounds for issues submitted via the Microsoft Connect interface. The MSDN forums are better suited for finding the correct answer. Visit the MSDN forums at http://forums.microsoft.com/msdn/default.aspx.

Comments from the triage team: This does not meet the triage guidelines for Orcas. Please consult the forums for assistance.

Thanks once again for taking the time to send us feedback,
The Visual C++ Triage Team
Posted by Microsoft on 5/31/2007 at 5:26 PM
Thank you for your feedback. We are currently investigating. If this issue is urgent, please call support directly (see http://support.microsoft.com). Thank you, Visual Studio Product Team.
Posted by Ben Voigt - old ID on 5/31/2007 at 7:32 AM
This issue is similar to item #101496, but this variation is still handled incorrectly in SP1.