diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-24 21:02:39 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-24 21:02:39 +0000 |
commit | 6a09182cf704a220e7a5e31f1377f611fa0311d6 (patch) | |
tree | e3abf274fe266111d744c5e3998e433a2f43a278 /libstdc++-v3/include/bits/allocator.h | |
parent | 5f47fd07b117992985a34f60729bbe77ba992a19 (diff) | |
download | ppe42-gcc-6a09182cf704a220e7a5e31f1377f611fa0311d6.tar.gz ppe42-gcc-6a09182cf704a220e7a5e31f1377f611fa0311d6.zip |
2003-11-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/streambuf_iterator.h (ostreambuf_iterator): Remove
non-standard throw specs.
* testsuite/24_iterators/istreambuf_iterator.cc: Split into...
* testsuite/24_iterators/istreambuf_iterator/1.cc
* testsuite/24_iterators/istreambuf_iterator/2.cc
* testsuite/24_iterators/istreambuf_iterator/2627.cc
* testsuite/24_iterators/ostreambuf_iterator.cc: Split into...
* testsuite/24_iterators/ostreambuf_iterator/1.cc
* testsuite/24_iterators/ostreambuf_iterator/2.cc
* testsuite/24_iterators/reverse_iterator/1.cc: Just compile,
don't link.
* include/bits/allocator.h: Formatting tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73892 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/allocator.h')
-rw-r--r-- | libstdc++-v3/include/bits/allocator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/allocator.h b/libstdc++-v3/include/bits/allocator.h index a5bcaf5c512..9d01b7e292e 100644 --- a/libstdc++-v3/include/bits/allocator.h +++ b/libstdc++-v3/include/bits/allocator.h @@ -172,9 +172,11 @@ namespace std size_type max_size() const throw() { return size_t(-1) / sizeof(_Tp); } - void construct(pointer __p, const _Tp& __val) { new(__p) _Tp(__val); } + void + construct(pointer __p, const _Tp& __val) { new(__p) _Tp(__val); } - void destroy(pointer __p) { __p->~_Tp(); } + void + destroy(pointer __p) { __p->~_Tp(); } }; template<> |