1 out of 2 rated this helpful Rate this topic

Nonstandard Behavior

The following topics are some of the known places where the Visual C++ implementation of C++ does not agree with the C++ standard. The section numbers refer to section numbers in the C++ standard.

See Also

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Template Parameter shadowing
According to [temp.local]/7, it is ill-formed for a program to redeclare a template parameter name anywhere with the template. However, the Visual C++ does not issue a diagnostic for this and is thus not compliant in this area.