* in GiNaC functions */
/*
- * GiNaC Copyright (C) 1999-2016 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2019 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
}
case remember_strategies::delete_lru: {
// delete least recently used entry
- iterator it = begin();
- iterator lowest_access_it = it;
+ auto it = begin();
+ auto lowest_access_it = it;
unsigned long lowest_access = (*it).get_last_access();
++it;
while (it!=end()) {
}
case remember_strategies::delete_lfu: {
// delete least frequently used entry
- iterator it = begin();
- iterator lowest_hits_it = it;
+ auto it = begin();
+ auto lowest_hits_it = it;
unsigned lowest_hits = (*it).get_successful_hits();
++it;
while (it!=end()) {
bool remember_table_list::lookup_entry(function const & f, ex & result) const
{
- const_iterator i = begin(), iend = end();
+ auto i = begin(), iend = end();
while (i != iend) {
if (i->is_equal(f)) {
result = i->get_result();