* Archiving of GiNaC expressions. */
/*
- * GiNaC Copyright (C) 1999-2021 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2024 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
/** Delete cached unarchived expressions in all archive_nodes (mainly for debugging). */
void archive::forget()
{
- for_each(nodes.begin(), nodes.end(), std::mem_fun_ref(&archive_node::forget));
+ for_each(nodes.begin(), nodes.end(), std::mem_fn(&archive_node::forget));
}
/** Delete cached unarchived expressions from node (for debugging). */