mmm Alexey, I may do a mistake but the first example you post (before editing) 
has no locale within the lambda ... echo i as far as i know is equal echo(i) - 
just usual passing a parameter via a function interface - it makes a difference 
(for example in C++(since v.11+ ) it is not captured).So the result you got may 
seemed to be correct (except the point with over living variable i )

Reply via email to