mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-01 06:11:37 +00:00
Define a new interned_string_set_type typedef
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>
This commit is contained in:
parent
8bc0fc3f3d
commit
607dbff271
@ -33,6 +33,7 @@
|
||||
|
||||
#include <tr1/memory>
|
||||
#include <tr1/functional>
|
||||
#include <tr1/unordered_set>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
|
||||
@ -40,6 +41,8 @@ using std::tr1::shared_ptr;
|
||||
|
||||
namespace abigail
|
||||
{
|
||||
// Inject some std types into this namespace.
|
||||
using std::tr1::unordered_set;
|
||||
|
||||
/// The abstraction of an interned string.
|
||||
///
|
||||
@ -242,6 +245,10 @@ public:
|
||||
~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__
|
||||
|
Loading…
Reference in New Issue
Block a user