▲ 6 points
back
2 comments
At a very very quick glance, the one-liner if statements without curly braces is killing me. Definition of the variables at the start of the functions (eg. int i) makes me think this is an old C developer.
Needs more use of obtuse STL and difficult-to-read use of modern C++ template and decltype stuff to be true C++! More use of tuple and std::get<> is needed.
It's probably really fast though.
} //added these braces