Commit 5f708c54 by Paolo Carlini Committed by Paolo Carlini

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
parent 2290121c
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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment