mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 16:50:49 +08:00
array: Correct macro guarding cbegin, cend, crbegin, crend.
2007-10-17 Paolo Carlini <pcarlini@suse.de> * include/tr1_impl/array: Correct macro guarding cbegin, cend, crbegin, crend. * include/tr1_impl/hashtable: Likewise. From-SVN: r129404
This commit is contained in:
parent
2290121c71
commit
5f708c5444
@ -1,3 +1,9 @@
|
||||
2007-10-17 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/tr1_impl/array: Correct macro guarding cbegin, cend,
|
||||
crbegin, crend.
|
||||
* include/tr1_impl/hashtable: Likewise.
|
||||
|
||||
2007-10-16 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/ext/vstring.h (__versa_string<>::front,
|
||||
|
@ -97,7 +97,7 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
|
||||
rend() const
|
||||
{ return const_reverse_iterator(begin()); }
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
|
||||
const_iterator
|
||||
cbegin() const
|
||||
{ return const_iterator(&_M_instance[0]); }
|
||||
|
@ -252,7 +252,7 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
|
||||
end() const
|
||||
{ return const_iterator(_M_buckets + _M_bucket_count); }
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
|
||||
const_iterator
|
||||
cbegin() const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user