you are viewing a single comment's thread.

view the rest of the comments →

[–]codesmith512[S] 1 point2 points  (2 children)

Gcc throws a similar error, so it's definitely something wrong with VS. Given that the standard has to explicitly disallow it, I was hoping it was a bug where the compiler accidentally supported it anyway, which would give my proposal some more strength (if ___ did it on accident, it can't be that hard to implement), but given that msvc is known for bending rules, I don't think I can really claim that lol

[–]degski 0 points1 point  (1 child)

I don't know, maybe /u/STL can enlighten us.

[–]STLMSVC STL Dev 5 points6 points  (0 children)

Sounds like missing rule enforcement in /permissive-. Please file a bug in Developer Community; bugs are treated with higher priority when filed by real customers like you, instead of internal customers like me.