Are function-local typedefs visible inside C++0x lambdas?

后端 未结 4 987
既然无缘
既然无缘 2021-01-11 13:27

I\'ve run into a strange problem. The following simplified code reproduces the problem in MSVC 2010:

template 
struct dummy
{
    static T f         


        
4条回答
  •  时光取名叫无心
    2021-01-11 14:01

    I have filed two bug reports.

    • The crash bug by Tarydon. (Report)
    • The lambda scope resolution bug. (Report)

    We'll see how it goes. :)


    Update

    Both bugs have been marked as fixed:

    We appreciate your feedback. This bug has been seen by us before and we have fixed it in next release. Thank you for using the product.

    Thanks,
    Ulzii Luvsanbat
    Windows C++ Team

    So there we go.

提交回复
热议问题