* Replacement for map<> using hash tables. */
/*
- * GiNaC Copyright (C) 1999-2007 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
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef __GINAC_HASH_MAP_H__
-#define __GINAC_HASH_MAP_H__
+#ifndef GINAC_HASH_MAP_H
+#define GINAC_HASH_MAP_H
-#include <list>
-#include <iterator>
#include <algorithm>
#include <functional>
+#include <iterator>
+#include <list>
#include <utility>
-
namespace GiNaC {
/*
typedef typename Table::size_type size_type;
typedef typename Table::difference_type difference_type;
- class value_compare : public std::binary_function<value_type, value_type, bool>, private key_compare {
+ class value_compare : private key_compare {
friend class exhashmap;
public:
bool operator()(const value_type &lhs, const value_type &rhs) const
} // namespace std
-#endif // ndef __GINAC_HASH_MAP_H__
+#endif // ndef GINAC_HASH_MAP_H