[multiple changes]
2004-10-16 Benjamin Kosnik <bkoz@redhat.com> * include/tr1/array: Don't use layout_type. 2004-10-16 Sashan Govender <sashang@gmail.com> * include/tr1/array (array::end const): Fix casting from iterator to const_iterator. From-SVN: r89139
This commit is contained in:
parent
051a600204
commit
cd9333a726
|
@ -1,3 +1,12 @@
|
||||||
|
2004-10-16 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
|
* include/tr1/array: Don't use layout_type.
|
||||||
|
|
||||||
|
2004-10-16 Sashan Govender <sashang@gmail.com>
|
||||||
|
|
||||||
|
* include/tr1/array (array::end const): Fix casting from iterator
|
||||||
|
to const_iterator.
|
||||||
|
|
||||||
2004-10-15 Paolo Carlini <pcarlini@suse.de>
|
2004-10-15 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* include/ext/bitmap_allocator.h: Qualify ::operator delete.
|
* include/ext/bitmap_allocator.h: Qualify ::operator delete.
|
||||||
|
|
|
@ -55,9 +55,8 @@ namespace tr1
|
||||||
typedef ptrdiff_t difference_type;
|
typedef ptrdiff_t difference_type;
|
||||||
typedef std::reverse_iterator<iterator> reverse_iterator;
|
typedef std::reverse_iterator<iterator> reverse_iterator;
|
||||||
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
|
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
|
||||||
typedef char layout_type[sizeof(_Tp)] __attribute__ ((aligned(__alignof__(_Tp))));
|
|
||||||
|
|
||||||
layout_type _M_instance[_Nm];
|
value_type _M_instance[_Nm];
|
||||||
|
|
||||||
// No explicit construct/copy/destroy for aggregate type.
|
// No explicit construct/copy/destroy for aggregate type.
|
||||||
|
|
||||||
|
@ -82,7 +81,7 @@ namespace tr1
|
||||||
|
|
||||||
const_iterator
|
const_iterator
|
||||||
end() const
|
end() const
|
||||||
{ return reinterpret_cast<iterator>(&_M_instance[_S_index - 1]); }
|
{ return reinterpret_cast<const_iterator>(&_M_instance[_S_index - 1]); }
|
||||||
|
|
||||||
reverse_iterator
|
reverse_iterator
|
||||||
rbegin()
|
rbegin()
|
||||||
|
|
Loading…
Reference in New Issue