How to unmangle mangled names of C++ lambdas?

后端 未结 4 1358
你的背包
你的背包 2021-01-01 17:13

After compilation with g++-4.9.3 -std=c++11 the code

#include 
#include 
using namespace std;
int main() { cout          


        
4条回答
  •  既然无缘
    2021-01-01 17:50

    Using c++filt version 070207 20070207:

    $ c++filt -n Z4mainEUlvE_
    main::'lambda'()
    

    Although as the commenters have suggested, these names aren't always entirely helpful.

提交回复
热议问题