style(library/abstract_expr_manager): whitespace

This commit is contained in:
Daniel Selsam 2015-11-12 16:43:57 -08:00
parent 3703938e55
commit 4e85d59785
4 changed files with 16 additions and 15 deletions

View file

@ -5,6 +5,7 @@ Author: Daniel Selsam
*/
#include "library/abstract_expr_manager.h"
#include "util/safe_arith.h"
#include "util/list_fn.h"
namespace lean {

View file

@ -302,7 +302,7 @@ void for_each2(list<T1> const & l1, list<T2> const & l2, F && f) {
and <tt>(c_0, ..., c_k)</tt>,
exec f(a_0, b_0, c_0); f(a_1, b_1, c_1); ... f(a_k, b_k, c_k)</tt>. */
template<typename T1, typename T2, typename T3, typename F>
void for_each2(list<T1> const & l1, list<T2> const & l2, list<T3> const & l3, F && f) {
void for_each3(list<T1> const & l1, list<T2> const & l2, list<T3> const & l3, F && f) {
static_assert(std::is_same<typename std::result_of<F(T1 const &, T2 const &, T3 const &)>::type, void>::value,
"for_each2: return type of f is not void");
typedef typename list<T1>::cell cell1;