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
+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>
* include/ext/bitmap_allocator.h: Qualify ::operator delete.
typedef ptrdiff_t difference_type;
typedef std::reverse_iterator<iterator> 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.
const_iterator
end() const
- { return reinterpret_cast<iterator>(&_M_instance[_S_index - 1]); }
+ { return reinterpret_cast<const_iterator>(&_M_instance[_S_index - 1]); }
reverse_iterator
rbegin()