"git@developer.sourcefind.cn:gaoqiong/yaml-cpp.git" did not exist on "4c1c0977ab3c181689d41bb1c93f20c914e69375"
Commit 25cb66bd authored by Paul's avatar Paul
Browse files

Formatting

parent 1c82263b
...@@ -23,7 +23,7 @@ struct auto_print ...@@ -23,7 +23,7 @@ struct auto_print
{ {
static std::array<std::function<void()>, 2> handlers; static std::array<std::function<void()>, 2> handlers;
int index; int index;
template<class T> template <class T>
auto_print(T& x, int i) : index(i) auto_print(T& x, int i) : index(i)
{ {
handlers[index] = [&x] { std::cout << x << std::endl; }; handlers[index] = [&x] { std::cout << x << std::endl; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment