mardi 22 janvier 2019

static auto _ = []()? [duplicate]

This question already has an answer here:

static auto _ = [] (){        
    ios::sync_with_stdio(false);    
    cin.tie(NULL);    
    return nullptr;    
}();  

I know about the body sync and cin.tie but how does this static auto _ = []() work? what part of c++ this type of syntax belong?

Aucun commentaire:

Enregistrer un commentaire