> Anyway, it still won't work. Once you fix this you'll get another error: '`anonymous-namespace'::<lambda1>::(const `anonymous-namespace'::<lambda1> &)' : cannot convert parameter 1 from 'default_empty<T>' to 'const `anonymous-namespace'::<lambda1> &'

 

I knew i forgot to mention something, it was 3 am when i wrote that, sorry about that.

I did get that error too, which made me confused and got me thinking i've forgot some c++ rule again.

 

> Again, you're mixing up things that look like functions but they have different types.

 

Yes, can you explain what i'm missing, please ?

 

How would i make it work or is that not a possibility without std::function ?