How to unmangle mangled names of C++ lambdas?

后端 未结 4 1338
你的背包
你的背包 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 18:03

    If you don't need it inside your code, and its only for fun then use an online tool like http://d.fuqu.jp/c++filtjs/ which for Z4mainEUlvE_ it returns main::{lambda()#1}.

    Other tools can be found under this Stack Overflow question.

提交回复
热议问题