// send status to thing.io
thing["led"] >> [](pson& out){ out = status_id*; };* It gives: thing["led"] >> [](pson& out){ out = status_id*; };
_ ^_ exit status 1
_'i' is not captured*_ But I don't want to capture i, i just want the out variable!!!
An empty capture clause, [], indicates that the body of the lambda expression accesses no variables in the enclosing scope. that might be your real issue..