Testing out c++11 closures