simple c++11 closure test