Parser error in Visual C++ Development Environment - by RaminHalavati

Status : 

  Deferred<br /><br />
		The product team has reviewed this issue and has deferred it for consideration at a later time.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 767290 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 10/12/2012 9:27:44 PM
Access Restriction Public


If you write the following code, when you click on the code after FOR_ALL macro in function _tmain, the parser shows FOR_ALL as active function and all activities regarding selecting functions and scopes are disrupted.

#define FOR_ALL( VEC , pVAR ) for ( decltype( ( VEC ).begin() ) pVAR = ( VEC ).begin() ; pVAR != ( VEC ).end() ; pVAR++ )

int _tmain(int argc, _TCHAR* argv[])
vector<long> theList ;

FOR_ALL( theList , pItem )
{ cout << * pItem << "\n" ;}

return 0;
Sign in to post a comment.
Posted by Microsoft on 10/14/2012 at 7:33 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Microsoft Visual Studio Connect Support Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Macy [MSFT] on 10/12/2012 at 10:02 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(