diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c50eeff39a95f710bcdcf05d95037f158377dc33..8c90e3a99cc8dbc641dcdea91aa7ee62b2b3fe1d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,20 @@ +2008-07-29 Paolo Carlini <paolo.carlini@oracle.com> + + * include/debug/set.h: Minor formatting fixes. + * include/debug/multiset.h: Likewise. + * include/debug/safe_association.h: Likewise. + * include/debug/vector: Likewise. + * include/debug/map.h: Likewise. + * include/debug/string: Likewise. + * include/debug/multimap.h: Likewise. + * include/bits/stl_list.h: Likewise. + * include/bits/stl_map.h: Likewise. + * include/bits/stl_set.h: Likewise. + * include/bits/stl_multimap.h: Likewise. + * include/bits/stl_vector.h: Likewise. + * include/bits/stl_multiset.h: Likewise. + * include/bits/stl_bvector.h: Likewise. + 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com> * include/std/utility: Include <initializer_list>, per the current WP. diff --git a/libstdc++-v3/include/bits/stl_bvector.h b/libstdc++-v3/include/bits/stl_bvector.h index ad0ed87a1158a5c81be49150c570fe7ee737807c..4409d9c36650c577fa48db3073a5c69539637751 100644 --- a/libstdc++-v3/include/bits/stl_bvector.h +++ b/libstdc++-v3/include/bits/stl_bvector.h @@ -1,6 +1,6 @@ // vector<bool> specialization -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -534,7 +534,7 @@ template<typename _Alloc> vector(initializer_list<bool> __l, const allocator_type& __a = allocator_type()) - : _Base(__a) + : _Base(__a) { _M_initialize_range(__l.begin(), __l.end(), random_access_iterator_tag()); diff --git a/libstdc++-v3/include/bits/stl_list.h b/libstdc++-v3/include/bits/stl_list.h index b38fa55cf794818b066e9293395d43eb0d953807..91c339c1746f4db0529120f4f34084f2495aef49 100644 --- a/libstdc++-v3/include/bits/stl_list.h +++ b/libstdc++-v3/include/bits/stl_list.h @@ -553,7 +553,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D) */ list(initializer_list<value_type> __l, const allocator_type& __a = allocator_type()) - : _Base(__a) + : _Base(__a) { _M_initialize_dispatch(__l.begin(), __l.end(), __false_type()); } #endif diff --git a/libstdc++-v3/include/bits/stl_map.h b/libstdc++-v3/include/bits/stl_map.h index b402b8292c51e1d7466f6a2df8e5b2a8962b0c51..3fe69c925d414287d1c68f4c9ee62c65e7f2aebe 100644 --- a/libstdc++-v3/include/bits/stl_map.h +++ b/libstdc++-v3/include/bits/stl_map.h @@ -201,7 +201,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D) map(initializer_list<value_type> __l, const _Compare& __c = _Compare(), const allocator_type& __a = allocator_type()) - : _M_t(__c, __a) + : _M_t(__c, __a) { _M_t._M_insert_unique(__l.begin(), __l.end()); } #endif diff --git a/libstdc++-v3/include/bits/stl_multimap.h b/libstdc++-v3/include/bits/stl_multimap.h index 0834c95cfd6c247693ec7e9c491f48f6191550e4..64a23b94920c008ac7f69a021bcbaf7fe121ac7a 100644 --- a/libstdc++-v3/include/bits/stl_multimap.h +++ b/libstdc++-v3/include/bits/stl_multimap.h @@ -198,7 +198,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D) multimap(initializer_list<value_type> __l, const _Compare& __comp = _Compare(), const allocator_type& __a = allocator_type()) - : _M_t(__comp, __a) + : _M_t(__comp, __a) { _M_t._M_insert_equal(__l.begin(), __l.end()); } #endif diff --git a/libstdc++-v3/include/bits/stl_multiset.h b/libstdc++-v3/include/bits/stl_multiset.h index 2fea83f847c756738e05f6da506f21b513c6dae5..18757551e5dfc38bbefd22fe156d62a6028408b9 100644 --- a/libstdc++-v3/include/bits/stl_multiset.h +++ b/libstdc++-v3/include/bits/stl_multiset.h @@ -211,7 +211,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D) multiset(initializer_list<value_type> __l, const _Compare& __comp = _Compare(), const allocator_type& __a = allocator_type()) - : _M_t(__comp, __a) + : _M_t(__comp, __a) { _M_t._M_insert_equal(__l.begin(), __l.end()); } #endif diff --git a/libstdc++-v3/include/bits/stl_set.h b/libstdc++-v3/include/bits/stl_set.h index 98c74e9a27ccb39f0d07b99792fc43a7decd891b..65dc13569daaa2c447ea17dc4077ae99ec343959 100644 --- a/libstdc++-v3/include/bits/stl_set.h +++ b/libstdc++-v3/include/bits/stl_set.h @@ -215,10 +215,10 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D) * This is linear in N if the list is already sorted, and NlogN * otherwise (where N is @a l.size()). */ - set(initializer_list<value_type> __l, - const _Compare& __comp = _Compare(), - const allocator_type& __a = allocator_type()) - : _M_t(__comp, __a) + set(initializer_list<value_type> __l, + const _Compare& __comp = _Compare(), + const allocator_type& __a = allocator_type()) + : _M_t(__comp, __a) { _M_t._M_insert_unique(__l.begin(), __l.end()); } #endif diff --git a/libstdc++-v3/include/bits/stl_vector.h b/libstdc++-v3/include/bits/stl_vector.h index 9ccd9b8ca23aabc53b1199b194deb87f63e090d2..28222f408f3abb2364137130394e7cdb0f1e15da 100644 --- a/libstdc++-v3/include/bits/stl_vector.h +++ b/libstdc++-v3/include/bits/stl_vector.h @@ -277,11 +277,11 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D) */ vector(initializer_list<value_type> __l, const allocator_type& __a = allocator_type()) - : _Base(__a) - { - _M_range_initialize(__l.begin(), __l.end(), - random_access_iterator_tag()); - } + : _Base(__a) + { + _M_range_initialize(__l.begin(), __l.end(), + random_access_iterator_tag()); + } #endif /** diff --git a/libstdc++-v3/include/debug/map.h b/libstdc++-v3/include/debug/map.h index 8232c742a635b44ade6eba7ed87755f9c06e1533..88d3e9842f80e1ec194fedce8dad68f2e6cfe8c8 100644 --- a/libstdc++-v3/include/debug/map.h +++ b/libstdc++-v3/include/debug/map.h @@ -102,7 +102,7 @@ namespace __debug map(initializer_list<value_type> __l, const _Compare& __c = _Compare(), const allocator_type& __a = allocator_type()) - : _Base(__l, __c, __a), _Safe_base() { } + : _Base(__l, __c, __a), _Safe_base() { } #endif ~map() { } diff --git a/libstdc++-v3/include/debug/multimap.h b/libstdc++-v3/include/debug/multimap.h index b7c5ee7181c7a006381ea178283c0734515aed73..b8e78d153a9c46aab0d5f15766448bda9c9cdcc5 100644 --- a/libstdc++-v3/include/debug/multimap.h +++ b/libstdc++-v3/include/debug/multimap.h @@ -103,7 +103,7 @@ namespace __debug multimap(initializer_list<value_type> __l, const _Compare& __c = _Compare(), const allocator_type& __a = allocator_type()) - : _Base(__l, __c, __a), _Safe_base() { } + : _Base(__l, __c, __a), _Safe_base() { } #endif ~multimap() { } diff --git a/libstdc++-v3/include/debug/multiset.h b/libstdc++-v3/include/debug/multiset.h index f108531638ef4a2a1eb3619ba6dbed15b9c0d95e..ba159b4c537bc90d7d7a5d17f1e71ab1d49721a1 100644 --- a/libstdc++-v3/include/debug/multiset.h +++ b/libstdc++-v3/include/debug/multiset.h @@ -100,7 +100,7 @@ namespace __debug multiset(initializer_list<value_type> __l, const _Compare& __comp = _Compare(), const allocator_type& __a = allocator_type()) - : _Base(__l, __comp, __a), _Safe_base() { } + : _Base(__l, __comp, __a), _Safe_base() { } #endif ~multiset() { } diff --git a/libstdc++-v3/include/debug/safe_association.h b/libstdc++-v3/include/debug/safe_association.h index a413b01f872db10a03c6bcea179a31361c7fa86e..de8945301f65d8e73793084e10a9489d7f4cc77c 100644 --- a/libstdc++-v3/include/debug/safe_association.h +++ b/libstdc++-v3/include/debug/safe_association.h @@ -1,6 +1,6 @@ // Safe associated container base class implementation -*- C++ -*- -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2008 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -110,7 +110,7 @@ namespace __gnu_debug const hasher& __hf, const key_equal& __eql, const allocator_type& __a = allocator_type()) - : _Base(__l, __n, __hf, __eql, __a) + : _Base(__l, __n, __hf, __eql, __a) { } _Safe_association(const _Base& __x) : _Base(__x) { } diff --git a/libstdc++-v3/include/debug/set.h b/libstdc++-v3/include/debug/set.h index 00711cd321d0c93e12fd0f102954d68c292788af..310f3ab61a2326a6e63c4d0c3a5984e7c0b732d5 100644 --- a/libstdc++-v3/include/debug/set.h +++ b/libstdc++-v3/include/debug/set.h @@ -100,7 +100,7 @@ namespace __debug set(initializer_list<value_type> __l, const _Compare& __comp = _Compare(), const allocator_type& __a = allocator_type()) - : _Base(__l, __comp, __a), _Safe_base() { } + : _Base(__l, __comp, __a), _Safe_base() { } #endif ~set() { } diff --git a/libstdc++-v3/include/debug/string b/libstdc++-v3/include/debug/string index 68882fed581f1679543cb98a4eade46aea8c25e7..c00e0f38afcef200edbaf623d2ee978eeb9b1486 100644 --- a/libstdc++-v3/include/debug/string +++ b/libstdc++-v3/include/debug/string @@ -117,8 +117,8 @@ namespace __gnu_debug #ifdef __GXX_EXPERIMENTAL_CXX0X__ basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) - : _Base(__l, __a) - { } + : _Base(__l, __a) + { } #endif // __GXX_EXPERIMENTAL_CXX0X__ ~basic_string() { } diff --git a/libstdc++-v3/include/debug/vector b/libstdc++-v3/include/debug/vector index a00419200d0043fb09227ca74df702e51328bd92..4e8cf5799b6dd29e1a6539ecd17fcfa0ffa16a95 100644 --- a/libstdc++-v3/include/debug/vector +++ b/libstdc++-v3/include/debug/vector @@ -109,8 +109,8 @@ namespace __debug vector(initializer_list<value_type> __l, const allocator_type& __a = allocator_type()) - : _Base(__l, __a), _Safe_base(), - _M_guaranteed_capacity(__l.size()) { } + : _Base(__l, __a), _Safe_base(), + _M_guaranteed_capacity(__l.size()) { } #endif ~vector() { }