Author: sebor
Date: Thu Mar 22 15:58:52 2007
New Revision: 521515
URL: http://svn.apache.org/viewvc?view=rev&rev=521515
Log:
2007-03-22 Martin Sebor <[EMAIL PROTECTED]>
* vector (ctors): Removed extraneous zeros from initializers.
Modified:
incubator/stdcxx/trunk/include/vector
Modified: incubator/stdcxx/trunk/include/vector
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/vector?view=diff&rev=521515&r1=521514&r2=521515
==============================================================================
--- incubator/stdcxx/trunk/include/vector (original)
+++ incubator/stdcxx/trunk/include/vector Thu Mar 22 15:58:52 2007
@@ -175,7 +175,7 @@
template <class _InputIter>
vector (_InputIter __first, _InputIter __last,
const allocator_type &__alloc = allocator_type ())
- : allocator_type (__alloc), _C_begin (0), _C_end (0), _C_bufend (0) {
+ : allocator_type (__alloc), _C_begin (), _C_end (), _C_bufend () {
assign (__first, __last);
}
@@ -184,14 +184,14 @@
// working around an MSVC 6.0 ICE (bug #554)
template <class _InputIter>
vector (_InputIter __first, _InputIter __last)
- : allocator_type (), _C_begin (0), _C_end (0), _C_bufend (0) {
+ : allocator_type (), _C_begin (), _C_end (), _C_bufend () {
assign (__first, __last);
}
template <class _InputIter>
vector (_InputIter __first, _InputIter __last,
const allocator_type &__alloc)
- : allocator_type (__alloc), _C_begin (0), _C_end (0), _C_bufend (0) {
+ : allocator_type (__alloc), _C_begin (), _C_end (), _C_bufend () {
assign (__first, __last);
}
@@ -201,7 +201,7 @@
vector (const_iterator __first, const_iterator __last,
const _Allocator &__alloc = allocator_type ())
- : allocator_type (__alloc), _C_begin (0), _C_end (0), _C_bufend (0) {
+ : allocator_type (__alloc), _C_begin (), _C_end (), _C_bufend () {
assign (__first, __last);
}
@@ -209,7 +209,7 @@
vector (const vector &__rhs)
: allocator_type (__rhs.get_allocator ()),
- _C_begin (0), _C_end (0), _C_bufend (0) {
+ _C_begin (), _C_end (), _C_bufend () {
assign (__rhs.begin (), __rhs.end ());
}