Boost logo

Boost :

From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-05-15 17:52:22

----- Original Message -----
From: "Samuel Krempp" <krempp_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, 15 May, 2002 17:05
Subject: Re: [boost] String formatting library: interest?

> Well, this example agrees with my position : one uses operator= for
> assigning a vector to another,
> while assign is used to initialise a vector with
> (size_t n, T val)
> or a range (In first, In last).
> Thus, the uses of operator= and assign don't overlap at all..

Well they all assign a range of values to the current vector.
operator= takes them from another vector, assign takes them from
a single value and a multiplier or a range of values specified
by two iterators. But basically, they all perform the same action.


Boost list run by bdawes at, gregod at, cpdaniel at, john at