diff options
author | Marc Glisse <marc.glisse@normalesup.org> | 2006-04-23 14:54:26 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-04-23 14:54:26 +0000 |
commit | 05a2763ef32d20ad24b7e03907c566dbc80d5c7b (patch) | |
tree | 8ed98f8e83191876bab2e7b834249f3864fad28d /libstdc++-v3/include/ext/mt_allocator.h | |
parent | c9379bf062307760ddf408620d5e233700583c78 (diff) | |
download | gcc-05a2763ef32d20ad24b7e03907c566dbc80d5c7b.zip gcc-05a2763ef32d20ad24b7e03907c566dbc80d5c7b.tar.gz gcc-05a2763ef32d20ad24b7e03907c566dbc80d5c7b.tar.bz2 |
re PR libstdc++/27199 (ptrdiff_t and size_t outside of namespace std)
2006-04-23 Marc Glisse <marc.glisse@normalesup.org>
PR libstdc++/27199
* ext/pool_allocator.h: Add using declarations for size_t, ptrdiff_t.
* ext/bitmap_allocator.h: Likewise; qualify with std::.
* ext/new_allocator.h: Likewise.
* ext/malloc_allocator.h: Likewise.
* ext/array_allocator.h: Likewise.
* ext/mt_allocator.h: Likewise.
* ext/functional: Likewise for size_t.
* ext/debug_allocator.h: Likewise.
* bits/char_traits.h: Qualify with std:: size_t.
* debug/hash_multimap.h: Likewise.
From-SVN: r113195
Diffstat (limited to 'libstdc++-v3/include/ext/mt_allocator.h')
-rw-r--r-- | libstdc++-v3/include/ext/mt_allocator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index fb7e370..0b557ba 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -42,6 +42,9 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) + using std::size_t; + using std::ptrdiff_t; + typedef void (*__destroy_handler)(void*); /// @brief Base class for pool object. |