inline bool operator==(const batch& lhs, const std::array& rhs) { std::array tmp; return tmp == rhs; }