In order to prepare other changes to come, this patch declares an
unordered set of abigail::interned_string.
* include/abg-interned-str.h (interned_string_set_type): Define a new
typedef for unordered_set<interned_string>.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
#include <tr1/memory>
#include <tr1/functional>
+#include <tr1/unordered_set>
#include <ostream>
#include <string>
namespace abigail
{
+// Inject some std types into this namespace.
+using std::tr1::unordered_set;
/// The abstraction of an interned string.
///
~interned_string_pool();
}; // end class interned_string_pool
+/// Convenience typedef for a set of @ref interned_string
+typedef unordered_set<interned_string,
+ hash_interned_string> interned_string_set_type;
+
} // end namespace abigail
#endif // __ABG_INTERNED_STR_H__