* Archiving of GiNaC expressions. */
/*
- * GiNaC Copyright (C) 1999-2019 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2023 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
#include "registrar.h"
#include "ex.h"
#include "lst.h"
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include "version.h"
#include <iostream>
/** 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). */